How can we receive values from a called procedure in CL?



How can we receive values from a called procedure in CL?..

Answer / syed

Using CALLPRC Command with the return variable parameter.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More RPG400 Interview Questions

I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?

6 Answers  


wat is meant by hidden field , why it is used?

4 Answers   Four soft,


What is the difference between inner join @ outer join

4 Answers  


What is journalling and commitment control?

3 Answers   IBM,


3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


When it is desirable to describe files Internally?

0 Answers  


Hi, Can anybody give me real sinario for SFLRCDNBR?with example?

2 Answers  


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.

0 Answers  


how do I preserve and clean the array?

0 Answers   IBM,


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


Categories