what is the difference between the cpyf command crtdupobj
command?
Answer Posted / shikha
Copy File (CPYF) command could be used to copy the source
into a database file.
(CRTDUPOBJ) command to create a copy of an existing object.
The duplicate object has the same object type and
authorization as the original object and is created into
the same auxiliary storage pool (ASP) as the original
object. The user who issues the command owns the
duplicate object.
If you create a duplicate object of a journaled file, the
duplicate object (file) will not have journaling active.
However, you can select this object for journaling
later. If you create a duplicate object and the object
(file) has no members, the last used date field is blank
and the count for number of days used is zero.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
what is file information data structure?
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
How to declare the pull button in AS/400..
What are the types of identifiers?
how can you display specific subfile page on the screen in unequal subfile?
When it is desirable to describe files Internally?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what do you mean by an input subfile, what are the keywords required?
what is program status data structure?
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.
How many program bind in one module....
how can I tell when to replace the array?
What is the difference between copybooks and subprocedures in as400?