When PGMA calls PGMB for the first time PGMB executes the
*INZSR. PGMB uses the RETRN operation to return to PGMA.
When PGMA call PGMB the second time is the *INZSR executed?

Answers were Sorted based on User's Feedback



When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation ..

Answer / anuj

No, on second call *INZSR will not be executed. If PGMB use
INLR to go back to PGMA then only *INZSR will be get
executed in second call.

Is This Answer Correct ?    22 Yes 1 No

When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation ..

Answer / raj

Hi anuj..what is that INLR can explain that...

Is This Answer Correct ?    0 Yes 0 No

When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation ..

Answer / jo

I tried and 2nd time *inzsr was not executed.

Is This Answer Correct ?    0 Yes 0 No

When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation ..

Answer / jayvardhan

If you specify RETRN in called program, the *INZSR will not execute again.

Is This Answer Correct ?    0 Yes 0 No

When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation ..

Answer / khadam sheikh

Yes. Whenever PGMB is called *INZSR is executed first.

Is This Answer Correct ?    0 Yes 11 No

Post New Answer

More RPG400 Interview Questions

How to print output from openquery in as400 ?

1 Answers   Four soft,


What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?

1 Answers   IBM,


What is the difference Return and InLr?

3 Answers  


What is journalling and commitment control?

3 Answers   IBM,


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,






Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output

3 Answers  


how do you use commitment control in rpg?

0 Answers   IBM,


is this a rpg channel?

0 Answers   IBM,


Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?

1 Answers  


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel

2 Answers   IBM,


Categories