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
What is the difference between iter and do?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
are there any useful c runtime apis that I can call from rpg iv?
what is an online rpg?
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 kids-rpg?
How Chain operation copies the record's data to the input buffer for the program?
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 do I play {insert rpg system here}?
what is the procedure and explain about real time scenario.
how do I declare a table or array in rpg iv?
How can we override a file during runtime in rpg?
What is file identifier where we can use?
Explain mdt?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........