unable to issue command to copy PDS
search cancel

unable to issue command to copy PDS

book

Article ID: 45900

calendar_today

Updated On:

Products

FAQS - Automated Systems Operation

Issue/Introduction

Question:

I need to copy a PDS MEMBER to a new name, how do I do this?

Answer:

To copy online

Go into the PDS and locate the member you wish to copy.

Example:

   MEMBER NAME     

 _ AAPCL.JCL       (put a 'C' on _

 

c AAPCL.JCL     _ the cursor will move to after JCL just type in a new name press enter.

  

 c AAPCL.JCL    zzpcl.jcl  

If done correctly you will see

COPY TO ==> MON:ZZPCL.JCL

 

To copy in batch

 // JOB COPY                                                                                                                                                                                                                          // EXEC PROC=JCLMAINT                                                                                                                                                                                                       ./ COPY MEMBER.xxx,NEWNAME.xxx    <- member is the name you want to copy.  xxx is type, can be txt, jcl...                                                                             ./ END                                                                                                                                                                                                                                  / *

                         

             

Environment

Release: FQ/FL.00100-5.1-FAQS-Automated Systems Operation
Component: