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

823


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

1008


how can you display specific subfile page on the screen in unequal subfile?

668


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?

1442


what is the difference between do while and do until?

692






what is the necessary keyword needed to scroll subfile records?

693


what is a rpg?

690


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

688


what do you mean by an input subfile, what are the keywords required?

759


What are the types of identifiers?

563


is this a rpg channel?

666


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5381


what is an online rpg?

712


How would display prime numbers using CL program?

5666


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2182