How can u create a temporary file in CLP @ how to access
that temporary file in RPG program?

Answer Posted / ravi shankar porwal

The temporary file can be created using Open Query file
commond(OPNQRYF).And it can be shared by other RPG programs
by specifying the shared ODP Paramenter 'yes' either by
OVRDBF Commond in cl pgm or by CHGPF Commond.

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

an access path may be in which sequence?

898


What Is The Difference Between Goto & Exsr?

1392


what is the purpose of data structure?

1370


how can you detect and handle a record lock situation?

1596


what are the basic features of seu?

810


how many specifications are there in rpg/400? What are they?

1483


how do you read data area in an rpg program?

1477


which are the query selection criteria, which can be given in a query?

902


how to define global parameter in ile ?

880


how do you specify the number of records to roll in a subfile ?

1710


what is the use of data structures?

878


when would you prefer logical file than opnqryf?

1849


Write a CL program which will run a batch job at 1 am every night

889


Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

2140


how many maximum spaces could be given in o specs?

830