What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?

Answer Posted / swetha krishna

In Prototype we define the variables as parameters for calling. In Procedure interface, we define both the variables and the calculation or function of the procedure. Prototype is mandatory in both calling and called programs because we have to pass parameters and receive some parameters while calling

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define the purpose of the *cat function?

1316


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

661


what are the different types of arrays available in rpg ?

1291


What are the record format field mapping options in cpyf?

820


What Is The Object Type Of Pf, Lf, Printer File & Display File?

957


when should I use method get, and when should I use method post in my cgis?

861


what is the function of crtdupobj command?

1577


what do we can do with the embedded sql statements?

825


What is RETURN CURSER LOCATION in subfile?

1310


how to get the cursor position?

937


what is sflrolval?

868


how to write code for singlepage in sqlrpgle with update ?

2613


what is xfoot opcode ?

1404


how can we run a batch job?

943


what does check opcode is used?

1336