What hapens when we use CPYF command to copy a LF? On which
PF will it be dependent???
Answers were Sorted based on User's Feedback
Answer / susheel singh
That is true
"even we use LF copy to copy the file only PF will be
created
and but not the LF so it will not dependent on the any
other PF
"
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / 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 |
whn u do cpy lf file it depend on the pf file.
ofcourse if u want cpy in to another src file it need the pf
file of tht corresponding lf.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / pushyami t
if we copy logical file using CPYF command then if we see
the new file description using DSPFD command then we
observe like "Type of file " as Physical file.
if we copy using CRTDUPOBJ command then if we see
desciption of new object then it showing "Tpe of file" as
Logical file itself.
Therefore if use CPYF command it is created as PF .so there
is no dependent on any other PF.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / satish goberu
It 'll create PF object only...! No LF ll be created
So, No chance to PF, to depend on any other file...!
Is This Answer Correct ? | 0 Yes | 0 No |
Can a indexed file be accessed in arrival sequence in RPG?
program to find the number of objects used in a given program through a display.
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
What is the significance of UDATE?
How to print output from openquery in as400 ?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
explain sflclr, sflend, sfldlt, and sflcsrrrn?
parameters cannot be passed in which one???