Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between the cpyf command crtdupobj
command?

Answer Posted / shikha

Copy File (CPYF) command could be used to copy the source
into a database file.
(CRTDUPOBJ) command to create a copy of an existing object.
The duplicate object has the same object type and
authorization as the original object and is created into
the same auxiliary storage pool (ASP) as the original
object. The user who issues the command owns the
duplicate object.

If you create a duplicate object of a journaled file, the
duplicate object (file) will not have journaling active.
However, you can select this object for journaling
later. If you create a duplicate object and the object
(file) has no members, the last used date field is blank
and the count for number of days used is zero.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we know running job is batch or interactive?

1124


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...

1893


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.

2521


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

2071


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

3002


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.

1223


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

945


How to declare the pull button in AS/400..

2333


What is the purpose of record level identifier?

1127


How Chain operation copies the record's data to the input buffer for the program?

1606


what is the difference between do while and do until?

1253


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

5142


Explain mdt?

1136


What is the difference between copybooks and subprocedures in as400?

1360


What is file identifier where we can use?

1131