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

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

4 Answers  


What is the length of Signature?

3 Answers   UST,


i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?

6 Answers   Mind Tree,


1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?

4 Answers  


One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?

4 Answers  






Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 Answers  


what is the necessary command needed before OPNQRYF and why?

5 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?

6 Answers   HSBC,


what do you mean by an input subfile, what are the keywords required?

0 Answers   IBM,


1.The questions have given an array declaration and move operation then this statement is correct or not?

3 Answers   TCS,


can i use unique key in LF

3 Answers   TCS,


Categories