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 |
i would like to know under what circumstance the object will get locked on AS400.
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
Can AnyOne tell me how to read join logical file in rpg from starting to end?
What is Multi Occurrence Data Structure(MODS)?
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
how can you display specific subfile page on the screen in unequal subfile?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How can we know running job is batch or interactive?
we are sending data of physical file to screen design and it is showing no record why?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.