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

two attributes which govern the excecution of a job>>>>??

2 Answers   CTS,


check existence of one record without using chain or read?

1 Answers   IBM,


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


How can we receive values from a called procedure in CL?

1 Answers   IBM, NTT Data,


Hi, Can anybody give me real sinario for SFLRCDNBR?with example?

2 Answers  


How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??

1 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


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.

0 Answers  


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


what is the rpg system?

0 Answers   IBM,


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


Categories