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

what are all the contents of subfile?

991


why is the declare cursor statement is used for?

632


what is the use of unique keyword and what level it is defined?

924


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

407


difference between view and index ?

713






a multiple format logical file is also known as?

597


what is the purpose of dynslt keyword?

1038


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2264


What are the mandatory keywords of sub file?

748


what is *iso date format?

625


What Is The Object Type Of Pf, Lf, Printer File & Display File?

705


Difference Between Interactive & Batch Job?

791


what is the maximum number of fields under a record format of physical file?

1006


what is the difference between packed decimal and zoned decimal?

2257


what are the different types of variables available in cl?

1007