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



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

Answer / 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

More IBM AS400 AllOther Interview Questions

records can be read/update/deleted with which file?

0 Answers   IBM,


it is possible declare variable values as variable using cl ? any cl command is there to declare values as variable

2 Answers  


What is the maximum number of elements in an array?

1 Answers  


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

1 Answers   IBM,


Where would you use Override Data Base File?

4 Answers  


Hi.can any body give me the code for this quesiton please.Because i dont have to try to enter the code in to the AS/400 server.Please can anybody give the answer for this question with complete code? A smple RPLE pgm which accepts the starting number and ending number as parameter.It then has to count all the odd numbers b/w the accepted range of numbers and display the results/ Ex:if the input parameters are 11 and 30 the result should be 10(11,13,15,17,19,21,23,25,27,29) Please explain and give me the complete code?

2 Answers   Bally Technologies,


I have a display file with mandatory fields. Is there anyway that i can highlight those fields to bring attention to the user? The same behavior that AS400 makes when we attempt to execute a command without completing all the required parameters. Note: I have used DSPATR(HI) or DPSATR(RI) and they have different behaviors. Thanks.

2 Answers  


How do you put jobs in batch mode?

1 Answers  


When would the ALL keyword be used?

1 Answers  


How many Printer Files can Declare in a CL Program?

4 Answers  


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

0 Answers  


Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?

2 Answers   CTS,


Categories