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

How can we read file using curser? how to define a curser?

1081


What is data structure in as400? What is the use of data structure?

841


what is the function of rlu ?

1332


explain the difference between defining subfile and message-subfile?

1478


how can you execute a command from within an rpg program without calling a clp program?

1596


how to define to define a hidden filed in dspf ?

1055


what is a join logical file?

972


How to reverse a string using RPG?

1155


what is the difference between packed decimal and zoned decimal?

2693


how can you detect and handle a record lock situation?

1622


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

2041


How to reverse the string in rpg

1515


records can be read/update/deleted with which file?

873


define the purpose of the leave operation?

1276


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2345