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

in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm

2 Answers  


how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.

2 Answers   TCS,


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


How can you delete records form a file in rpg without using "Delete" OPCODE?

7 Answers  






without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?

3 Answers   HSBC, TCS,


what is the necessary command needed before OPNQRYF and why?

5 Answers  


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,


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?

6 Answers   CSC,


what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.

5 Answers   iGate,


1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?

4 Answers   IBM,


Categories