what is the difference between the cpyf command crtdupobj
command?
Answer Posted / noah
cpyf copy file member is to copy file content to an existing
file. If file does not exist then user can create a new
file. The structure will be based on source file.
crtdupobj create duplicate object, create clone exactly as the
source file with structure and content with its link to prgram
and logical file and its authority setting as well. no need to
recompile pgm that use this file.
| Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
how do I play {insert rpg system here}?
what is data area and how it is used in rpg program ?
what do you mean by an input subfile, what are the keywords required?
How many program bind in one module....
How to call one program from another program in RPG? please help me with the 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 to select highest score of each subject or how to select highest income of every month?
are there any useful c runtime apis that I can call from rpg iv?
What is a record lock error?
how can you display specific subfile page on the screen in unequal subfile?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
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 is the difference between do while and do until?
How would display prime numbers using CL program?
how do I preserve and clean the array?