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
Answer / jayvardhan
If you specify RETRN in called program, the *INZSR will not execute again.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / khadam sheikh
Yes. Whenever PGMB is called *INZSR is executed first.
Is This Answer Correct ? | 0 Yes | 11 No |
How to print output from openquery in as400 ?
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
What is the difference Return and InLr?
What is journalling and commitment control?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
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
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
how do you use commitment control in rpg?
is this a rpg channel?
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?
How to declare the dynamic(run time) array in rpgle? can you please give example
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