What is use of IMPORT and EXPORT in RPGLE ? What is
activation Group ? What is Service Program ???? How to
call another program in RPGLE ?



What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???..

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

Post New Answer

More RPG400 Interview Questions

i would like to know under what circumstance the object will get locked on AS400.

5 Answers   IBM,


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

2 Answers   iGate,


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

4 Answers   Manhattan,


Can AnyOne tell me how to read join logical file in rpg from starting to end?

2 Answers  


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,






How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


how can you display specific subfile page on the screen in unequal subfile?

0 Answers   IBM,


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


How can we know running job is batch or interactive?

0 Answers  


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


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.

2 Answers  


Categories