ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Sporadic Invalid Data Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sporadic Invalid Data Error

    I have a subprocedure in a service program, and it has a screen (window).
    I have a program that calls this subprocedure.

    If I call that program, everything works fine.
    If another user calls that same program, with the same *LIBL, passing the same parameters (same data, same data types, same lengths, everything) to the subprocedure, she gets an "Invalid Data" error (Data < x'40').

    Both of us are using the same emulator with the same configuration.

    Why does she get that error and I don't?

  • #2
    Does the screen display only constant data, or does some data originate from a file or data area etc?

    Comment


    • #3
      We need more detail on the issue before we can give a useful reply.
      You say you call the program. How? Are you calling it from a command line? Is it being called from another program? How is the other person calling it? The same way? What parameters are being passed? What is being expected by the program (data types and lengths)?
      If being called from a command line, there could be various reasons but without more specific details of the parms being expected and what is being sent, it's all just guesswork.

      Comment


      • #4
        The first thing I would check is whether this is an authority issue - look at the audit journal for AF entries around the time of the failure.

        Cheers,

        Emmanuel

        Comment

        Working...
        X