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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PMENU Procedure<br />

Procedures under z/<strong>OS</strong> PMENU Procedure 331<br />

Example of Copying Members Using the PDSCOPY Procedure<br />

The following example copies all members and aliases that start with the letters OUT.<br />

In this example, the alias must match the main member both by name and by TTR in<br />

order <strong>for</strong> the alias to be copied.<br />

filename old ’userid.mvs.output’ disp=shr;<br />

filename new ’userid.mvs.output2’ disp=old;<br />

proc pdscopy indd=old outdd=new aliasmatch=both<br />

shareinput;<br />

select out:;<br />

run;<br />

The following output shows the results.<br />

Output 16.9 PDSCOPY Procedure Example<br />

1 filename old ’userid.mvs.output’ disp=shr;<br />

2 filename new ’userid.mvs.output2’ disp=shr;<br />

3<br />

4 proc pdscopy indd=old outdd=new aliasmatch=both shareinput;<br />

5 select out:;<br />

6 run;<br />

<strong>SAS</strong> PROC PDSCOPY Version 9.00 04/24/99<br />

INPUT DSNAME=USERID.MVS.OUTPUT VOL=SER=XXXXXX<br />

OUTPUT DSNAME=USERID.MVS.OUTPUT2 VOL=SER=XXXXXX<br />

MEMBER TRACKS SIZE<br />

ALIAS<br />

OUT1601 2.6 40019 replaced<br />

OUT1602 10.6 165519 replaced<br />

OUT1603 53.3 829081 replaced<br />

TRACKS USED 67.0<br />

UNUSED 8.0<br />

TOTAL 75.0<br />

EXTENTS 5<br />

Defines PMENU facilities <strong>for</strong> user-defined windows<br />

z/<strong>OS</strong> specifics: Some portable statements are ignored.<br />

Details<br />

The following statements and options are accepted without generating errors, but with<br />

current device drivers they have no effect under z/<strong>OS</strong>:<br />

3 ACCELERATE= option in the ITEM statement<br />

3 MNEMONIC= option in the ITEM statement<br />

3 HELP= option in the DIALOG statement.

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

Saved successfully!

Ooh no, something went wrong!