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 Posted / 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 |
Post New Answer View All Answers
what is the difference between do while and do until?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
What is the difference between copybooks and subprocedures in as400?
how do I declare a table or array in rpg iv?
are there any useful c runtime apis that I can call from rpg iv?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How can we override a file during runtime in rpg?
How to write record if no field or the field are different in physical file in rpgle ?
When it is desirable to describe files Internally?
How many program bind in one module....
what is the necessary keyword needed to scroll subfile records?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
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?
How can we know running job is batch or interactive?
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