INZSR with RETURN & INLR

65 pts.
Tags:
*INZSR
Coding
RPGLE
Hi There, How INZSR will work with RETURN & *inLR *ON.
1:->I mean Pgm A is calling Pgm B.Pgm B is using INZSR & RETURN .So how INZSR  will work during the 2nd call to PgmB .I mean when Pgm B got called 2nd time then control will pass to INZSR or Not?
2:->Pgm A is calling Pgm B.Pgm B is using INZSR & *inLr = *On.Then for the 2nd call to Pgm B .INZSR will be call or Not?
ASKED: October 5, 2011  7:29 AM
UPDATED: March 31, 2012  12:37 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

This question was just asked and answered.

http://itknowledgeexchange.techtarget.com/itanswers/inzsr/

Discuss This Question: 3  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • WoodEngineer
    I tried this once . . . turning on *INLR in the *INZSR subroutine. The program ended after executing the *INZSR subroutine. No other code was executed. I moved the code that turned on *INLR outside *INZSR and the program worked.
    6,035 pointsBadges:
    report
  • Pankaj1122
    [...] 5. CharlieBrowne, PSMurray, Philpl1jb, and TomLiotta discuss reading only the active records in a flat file. 6. Have you had to use INZSR with RETURN & INLR? [...]
    0 pointsBadges:
    report
  • Renjithgr
    Hi Pankaj, For your question the answers will be like this. 1. INZSR will not get executed as u used return 2. INZSR will get executed as program teminated through LR
    285 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following