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 to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is data area and how it is used in rpg program ?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is the necessary keyword needed to scroll subfile records?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
What is file identifier where we can use?
can you debug ile rpg program using isdb?
what is the difference between do while and do until?
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?
how do I preserve and clean the array?
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...
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?
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?
What is ment by record level identifier?
how do I declare a minor?