02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

326 PDSCOPY Procedure Chapter 16<br />

extended partitioned data sets (PDSEs). PROC PDSCOPY is useful <strong>for</strong> backing up<br />

source libraries and load module libraries to tape. If you use PROC PDSCOPY to copy a<br />

PDS to tape, then you must also use it if you want to copy that PDS back to disk.<br />

However, you can use either PROC PDSCOPY or other copy utilities to copy that tape<br />

to another tape.<br />

When libraries are moved between disks that have different optimal block sizes,<br />

PROC PDSCOPY can be used to reblock the libraries. PROC PDSCOPY handles<br />

overlay programs and alias names. It also sets up the RLD count fields that are used by<br />

the FETCH program.<br />

When a PDS contains load modules, it generally requires 13% to 18% less disk space<br />

after being copied by PROC PDSCOPY, because PROC PDSCOPY uses free space on a<br />

partially filled track to store records. The linkage editor constructs records that do not<br />

fit on a partially used track.<br />

The PDSCOPY procedure does not copy scatter-loaded modules.<br />

If errors are encountered during PDSCOPY processing, the return code <strong>for</strong> the job<br />

step is set to 8.<br />

PROC PDSCOPY Statement<br />

PROC PDSCOPY INDD=file-specification OUTDD=file-specification ;<br />

INDD=file-specification<br />

specifies either the fileref or the physical file name (enclosed in quotation marks)<br />

of the library to copy. INDD= is required.<br />

OUTDD=file-specification<br />

specifies either the fileref or the physical file name (enclosed in quotation marks)<br />

of the output partitioned data set. OUTDD= is required.<br />

Options Some of the options that can appear in the PROC PDSCOPY statement apply<br />

to both source libraries and load module libraries. Others apply only to load module<br />

libraries. The following options apply to both source libraries and load module libraries:<br />

ALIASMATCH=TTR<br />

BLKSIZE=<br />

INTAPE<br />

NEWMOD<br />

NOALIAS<br />

NOREPLACE<br />

OUTTAPE<br />

SHAREINPUT<br />

The following options apply only to load module libraries:<br />

ALIASMATCH=BOTH|EITHER|NAME<br />

DC<br />

DCBS|NODCBS<br />

MAXBLOCK=<br />

NE<br />

NOTEST<br />

All the options that can appear in the PROC PDSCOPY statement are discussed in<br />

this section. In the discussion, the term member refers to both source library members<br />

and to load modules. The term module refers only to load modules.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!