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...

What hapens when we use CPYF command to copy a LF? On which
PF will it be dependent???

Answer Posted / jadwiga szczech

The result of CPYF command to copy a LF will be independent
PF which will be keyed the same way as copied LF.

If you have PF named CLIENT and LF named CLIENT1 created
over CLIENT with CLT# key field in Library1.
CPYF FROMFILE(Library1/CLIENT1) TOFILE(Lib2/CLIENT1) MBROPT
(*ADD) CRTFILE(*YES)
will create PF named CLIENT1 keyd by CLT# key field in Lib2.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

1311


how do I preserve and clean the array?

1153


what is the difference between do while and do until?

1257


are there any useful c runtime apis that I can call from rpg iv?

1168


is this a rpg channel?

1173


what is the rpg system?

1282


how do I declare a table or array in rpg iv?

1184


What is the purpose of record level identifier?

1128


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1731


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

2074


what is file information data structure?

2209


how can I tell when to replace the array?

1219


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2410


what is the necessary keyword needed to scroll subfile records?

1161


How to write record if no field or the field are different in physical file in rpgle ?

968