What hapens when we use CPYF command to copy a LF? On which
PF will it be dependent???
Answer Posted / 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 |
Post New Answer View All Answers
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.
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How can we override a file during runtime in rpg?
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
explain sflclr, sflend, sfldlt, and sflcsrrrn?
how do I play {insert rpg system here}?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what was the robotech rpg?
what is kids-rpg?
How can we know running job is batch or interactive?
what is the rpg system?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to write record if no field or the field are different in physical file in rpgle ?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
Explain mdt?