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

how can a cgi check whether an ifs object is available?

741


what does opcode post do ?

1243


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1844


Apart from opening of a file do we have any other use of USROPN?

1037


define the rcvf command?

1143






hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2209


Why we are not able to perform insert delete and update operation in Join logical file?

1039


how many types of display are available on as/400 for user interaction?

735


what is the purpose of overrides?

1186


What is diff between EVAL & MOVE?

1063


how can database records be read without lock ?

1366


why is as/400 called object oriented machine?

1063


which of the cl command can be used to determine which logical files are dependent on a specific file?

686


How can we read file using curser? how to define a curser?

921


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1143