what is the difference between the cpyf command crtdupobj
command?
Answer Posted / sanjay
CPYF command are used to copy the all data from one data
base file to another or copy the required data from one
file to another files .
when we copy the data from one file to another file that
time if user want to create new file then create new file
object by using CPYF command
CRTDUPOBJ - this command used to create duplicate object
from any existing object your AS400 system.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
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 program status data structure?
how can I tell when to replace the array?
what is the difference between do while and do until?
How can we override a file during runtime in rpg?
how do I play {insert rpg system here}?
What is ment by record level identifier?
what are the key words you must use when using a subfile?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is the procedure and explain about real time scenario.
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
what is file information data structure?
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 the necessary keyword needed to scroll subfile records?
How can we know running job is batch or interactive?