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
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.
When it is desirable to describe files Internally?
What is difference between bind by copy and bind by reference?
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...
how do I declare a table or array in rpg iv?
How would display prime numbers using CL program?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
what is data area and how it is used in rpg program ?
how does the rpg element work?
how do you use commitment control in rpg?
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
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?
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.
Explain mdt?
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?