what is the difference between the cpyf command crtdupobj
command?

Answer Posted / indraneel

cpyf command is to be used when you want to copy the data
of the file. For eg. if want a selection of data that can
be done. It is not necessary that from file and to file
record format are exactly same

In case of crtduobj, a clone of the object is created.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

762


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1786


What is ment by record level identifier?

887


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

2151


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?

1054


how do I play {insert rpg system here}?

819


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

919


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

2205


How to select highest score of each subject or how to select highest income of every month?

1528


When it is desirable to describe files Internally?

1428


What is the difference between iter and do?

974


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

813


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.

2434


what is kids-rpg?

918


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2776