Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...



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 display all the members records in a physical file without using ovrdbf?

9 Answers  


HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?

2 Answers  


What is the name of default out queue when user logs inn to syatem with valid profile?

3 Answers   IBM,


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

0 Answers  


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

2 Answers   Polaris,






Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?

4 Answers   IBM,


How do I link an existing logical file to it's Physical File without recompiling?

2 Answers  


1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF

5 Answers   CTS,


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir

2 Answers   iGate,


can we use cl programming to update or delete physical files

12 Answers  






Categories