what is the difference between the cpyf command crtdupobj
command?
Answer Posted / swami redddy
the command is used to create a duplicate object crtdupobj
from an existing object .this command not only creates a
duplicate objects but also copies the contents of the existing
object into a newly created duplicate object.
syntax for crtdupobj as given below
crtdupobj obj(old object name)
from lib(lib name)
obj type(any valid as/400 obj type)
to lib(into which obj.must be created)
newobj(new obj name)
data(*yes/*no)
(constraint) cst (*yes)
(trigger) trg (*yes)
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
how do I declare a table or array in rpg iv?
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 diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How would display prime numbers using CL program?
how can you display specific subfile page on the screen in unequal subfile?
When it is desirable to describe files Internally?
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
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
How to handle duplicate error handling in RPG?
how can I tell when to replace the array?
What are the types of identifiers?
what is an online rpg?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400