Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

1093


What Is Ddm ?

1773


In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.

9117


what is a non-join logical file?

1926


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

2079


Difference Between Call & Sbmjob?

1339


Difference Between Ca & Cf?

1142


what is a join logical file?

1260


when would you use or not use this approach?

1623


Difference Between Interactive & Batch Job?

1300


what is the clp command to access a query/400?

2232


what is the purpose of dynslt keyword?

1821


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

1197


define the purpose of the *cat function?

1746


can you display a empty subfile?

1282