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
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.
what is file information data structure?
what are the key words you must use when using a subfile?
How Chain operation copies the record's data to the input buffer for the program?
How to handle duplicate error handling in RPG?
how do I declare a table or array in rpg iv?
How to select highest score of each subject or how to select highest income of every month?
what is the difference between do while and do until?
how do I declare a minor?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
what is the use of sflnxtchg?
what is program status data structure?
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 can you display specific subfile page on the screen in unequal subfile?