![]() |
C Copy File/Library Element/Job Variable
C Copy. The name of the data object marked with the Action Code C will be highlighted in the file list, and can be overwritten by the user with the name that the target file should have. The original data object is left unchanged. The amended line in the file list will be displayed as before after the copy has been performed.
If a file with BLKCTRL=PAMKEY is to be copied to a NK pubset, CFS will call the PAMCONV utility program internally.
Successful execution of the copy operation is indicated by C---C appearing on the right of the respective list entry. In an error occured, the respective DVS or Library error code is displayed.
A PLAM library element stored in Delta format will normally be copied as a full element. An exception is if the target element already exists in Delta format.
A PLAM element not stored in Delta format will also be copied in non-Delta format. An exception is if the target element already exists in Delta format. If so, the version will be incremented by 1.
CA Copy All. All applicable versions of a PLAM library element stored in Delta format are copied with the same structure to an element with the specified name.
CS Copy,SAME. Files/Job variables/PLAM elements are copied retaining the same protection attributes. For files and Job variables, these include the following characteristics: : ACCESS=READ/WRITE, RDPASS/WRPASS/EXPASS, RETPD, Basic Access Control List (BACL). For a PLAM library element, the Read, Write and Exec passwords, and the Basic Access Control List (BACL) will be transfered to the new element. Normally, files/Job variables/PLAM library elements are copied without taking over the protection attributes. Thus, copying a shareable file will make it non-shareable.
Notes:
If a file is to be copied from a foreign userid to the current userid, then the current userid must be prefixed to the name as $user-id. .
Copied files/library elements will be added automatically to the end of the current file list .