How can u create a temporary file in CLP @ how to access
that temporary file in RPG program?
Answer Posted / svankipu
Use OVRDBF Command with SHARE(*YES) to share the ODP of this
file to othr pgms.
create temporary file using Open Query file command(OPNQRYF)
and use "Allow copy of data" (ALWCPYDTA) attribute to copy
the selected data into this file.
Now call the RPG pgm to use this file.
Thanks!
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what the purpose of ovrdta, ovrata keywords?
Can level check error occur if we do chgpf?
What is the difference between physical file and logical file?
what are the basic features of seu?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
What is the default access path of a file?
explain the purpose of keep and assume keywords?
How Many Specs Are There In Rpg & Which Are They?
what is the purpose of the indara keyword?
what are indicators?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
What is the use of jdftval in as400?
How to avoid using indicators in ile ?
an access path may be in which sequence?