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
at what level s,o are defined and what they will do?
writing an sql statement from selecting records from two files using single statement and nested select statement.
what are the different types of arrays available in rpg ?
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 are members?
what is *iso date format?
when do you use f-spec. Continuation line ?
how many maximum spaces could be given in o specs?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
what keyword must be used with protect keyword ?
what is the maximum number of fields under a record format of physical file?
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
How to reverse a string using RPG?
Can level check error occur if we do chgpf?
how to write code for singlepage in sqlrpgle with update ?