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

How can we know running job is batch or interactive?

1044


How to declare the pull button in AS/400..

2288


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

1650


What is the difference between copybooks and subprocedures in as400?

1305


do you use message subfiles? What are the necessary keywords required coding a message subfile?

1075


how do you use commitment control in rpg?

1222


What is the purpose of record level identifier?

1076


what are the key words you must use when using a subfile?

1098


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2458


how does the rpg element work?

1132


How many program bind in one module....

2603


How to handle duplicate error handling in RPG?

2221


how do I play {insert rpg system here}?

976


What is ment by record level identifier?

1084


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2729