What is use of IMPORT and EXPORT in RPGLE ? What is
activation Group ? What is Service Program ???? How to
call another program in RPGLE ?
Answer / raju challa
A) EXPORT & IMPORT
Export: indicates that the variable has been defined (stored) in this module and will be used by some other module which is importing this variable using Import keyword.
Import: indicates that the variable has been defined (stored) in some other module and will be used here.
b) In calling Programme..
c call pgmname plist
*
c name1 plist
c parm fld1 5a
c parm fld2 5s 0
In called programme.
c *entry plist
c parm a 5a
c parm b 5s 0
| Is This Answer Correct ? | 0 Yes | 0 No |
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?
1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
How to call one program from another program in RPG? please help me with the code
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
A rpg or clp command to find if the file field is defined as a character or numeric field.
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
What is a record lock error?
How to find d key field of a pf that doesn’t have source physical file?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400