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
can you debug ile rpg program using isdb?
What is a record lock error?
what is the use of sflnxtchg?
how do you use commitment control in rpg?
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.
When it is desirable to describe files Internally?
what are the key words you must use when using a subfile?
what do you mean by an input subfile, what are the keywords required?
what is a rpg?
What is the purpose of record level identifier?
how can I tell when to replace the array?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
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...?
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?
how do I declare a table or array in rpg iv?