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?

Answer Posted / jayvardhan

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle duplicate error handling in RPG?

1693


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2058


what is the use of sflnxtchg?

812


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1323


What is a record lock error?

1274






What is the difference between copybooks and subprocedures in as400?

817


what is the procedure and explain about real time scenario.

1488


what is an online rpg?

738


What is the difference between iter and do?

683


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

727


what is a rpg?

705


how do I preserve and clean the array?

681


how do I declare a minor?

720


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

718


How to call one program from another program in RPG? please help me with the code

1269