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

what is the difference between normal upddta to pf and updating using dfu program?

769


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1118


can a join logical file be updated?

589


WHAT IS AS/400 SYNORIO?

2888


what does dfu program you to do on a record?

735






What is a query can be displayed without saving it?

674


what is the maximum number of records you can specify in a display file?

1124


define data structure?

1027


What Does Lokup Does In Tables & Arrays?

737


what are the limitations of cl (compare to rpg) ?

1550


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2264


the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?

563


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

586


how do you pass parameters in cl?

1055


which single rpg opcode performs both setll and reade?

1101