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

Answer Posted / mike

CRTDUPOBJ QTEMP/FILENAME

OVRDBF FILENAME TOFILE(QTEMP/FILENAME)
CALL RPGPGM
DLTOVR FILENAME

DLTF QTEMP/FILENAME

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you specify a display file to be used in the following modes input,output, or combined modes ?

943


Space & Skip Are Which Level Keywords?

758


what is the purpose of data structure?

1009


what are the important factors in error message subfile ?

568


how many printer files maximum can be used in single rpg program?

676






What is the maximum number of subfiles that can be specified in a display file?

1147


What is the draw back of Procedures? why we are going to Modules?

1230


Can level check error occur if we do chgpf?

778


How can we arrange duplicate records in a file?

605


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2119


which cl command is used to trap error messages during program execution?

866


What Is Default Data Type (if You Define Decimals '0') In Physical File?

1148


how can you check for a records existence without causing and i/o (chain/read)?

1295


How to reverse a string using RPG?

696


what are the different types of arrays available in rpg ?

968