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
What are the types of identifiers?
What is difference between bind by copy and bind by reference?
How Chain operation copies the record's data to the input buffer for the program?
what is the rpg system?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
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...........
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?
what is the use of sflnxtchg?
What is ment by record level identifier?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
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?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
what is program status data structure?
what is a rpg?
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.