what is the difference between the cpyf command crtdupobj
command?
Answer Posted / indraneel
cpyf command is to be used when you want to copy the data
of the file. For eg. if want a selection of data that can
be done. It is not necessary that from file and to file
record format are exactly same
In case of crtduobj, a clone of the object is created.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
are there any useful c runtime apis that I can call from rpg iv?
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?
what is an online rpg?
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 difference between bind by copy and bind by reference?
What is file identifier where we can use?
how do you use commitment control in rpg?
What is ment by record level identifier?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
Explain mdt?
what is file information data structure?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what are the key words you must use when using a subfile?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
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?