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 |
Difference between RESET and CLEAR
are there any useful c runtime apis that I can call from rpg iv?
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.
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
What is the difference Return and InLr?
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?