Error in calling RPGLE program from CL

5 pts.
Tags:
CL Program
RPGLE
I have a job running under subsystem. This job is using a CL program which inturn calling RPGLE program. The CL program is failing in call statement to RPGLE with following error message in jobog: Pointer not set for location referenced. Pointer not set for location referenced. Pointer not set for location referenced. Exception recursion detected. Application error. *N unmonitored by *N at statement *N, instruction X'4000'. Note: My CL program is populating LDA before calling RPGLE program, and RPGLE program has defined with UDS. Not passing any other entry parameter from CL to RPGLE. simple call statement: CALL PGM(XXXYYY)
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • philpl1jb

    This sounds like program called itself: Exception recursion detected


    I would think this occurs in the RPG program: Pointer not set for location referenced. .. perhaps there is an *ENTRY parameter list or the program is prototyped with an entry list and you are not passing it a pointer to one of the values on the entry.

    Or there is an error in the RPG program.

    Pointer not set for location referenced. Pointer not set for location referenced.


    54,090 pointsBadges:
    report
  • CharlieBrowne
    Are both programs running in the same activation group? Compiling a CL program default to an OPM. This has been know to have issues with LE programs. 
    62,385 pointsBadges:
    report
  • CharlieBrowne
    Also, try running in DEBUG mode.
    62,385 pointsBadges:
    report
  • azohawk

    I had this error the other day when I forgot to include a parm for the RPG pgm.

    Was this working and now isn't? if so, what changed?

    4,055 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: