|
Try this for JCL concats:
//STEPONE EXEC SAS
//CLAIMS36 DD DSN=&MRGD..FY96.INV03,DISP=OLD
// DD DSN=&MRGD..FY96.INV04,DISP=OLD,UNIT=AFF=CLAIMS36
// DD DSN=&MRGD..FY96.INV05,DISP=OLD,UNIT=AFF=CLAIMS36
// DD DSN=&MRGD..FY96.INV09,DISP=OLD,UNIT=AFF=CLAIMS36
DATA TEMP1;
SET
CLAIMS36.CLMS;
RUN;
i.e., its a single DD statement.
Note, I've only done this with raw source data not SAS datasets, let me know how it works out.
At 02:37 PM 4/2/98 -0500, Kowalczyk, Andrew wrote:
>Each of these datasets is SAS structured file on a tape.
>Each is also a multi-volume dataset.
>When I do not specify UNIT=AFF= this step runs fine - but I need three
>tape drives.
>I am trying to not be a resource hog so I thought the following should
>work - with each of the dozen or so tapes mounted in order.
>
>//STEPONE EXEC SAS
>//CLAIMS36 DD DSN=&MRGD..FY96.INV03,DISP=OLD
>//CLAIMS46 DD DSN=&MRGD..FY96.INV04,DISP=OLD,UNIT=AFF=CLAIMS36
>//CLAIMS56 DD DSN=&MRGD..FY96.INV05,DISP=OLD,UNIT=AFF=CLAIMS36
>//CLAIMS96 DD DSN=&MRGD..FY96.INV09,DISP=OLD,UNIT=AFF=CLAIMS36
>DATA TEMP1;
>SET
> CLAIMS36.CLMS CLAIMS46.CLMS CLAIMS56.CLMS CLAIMS96.CLMS;
>RUN;
>
>Yields the following system message:
>IEC145I 413-04,IFG0194A,DMABHWTE,SAS609,CLAIMS46,70B,M10904,DMADLY.
>IEC145I 413-04,IFG0194A,DMABHWTE,SAS609,CLAIMS56,70B,M10904,DMADLY.
>IEC145I 413-04,IFG0194A,DMABHWTE,SAS609,CLAIMS96,70B,M10904,DMADLY.
>IEF450I DMABHWTE SAS609 PROFILE - ABEND=S000 U0999 REASON=00000000
>
>And the following SAS messages:
>ERROR: Library CLAIMS46 is not in a valid format for access method
>SASV6SEQ.
>ERROR: Library CLAIMS56 is not in a valid format for access method
>SASV6SEQ.
>ERROR: Library CLAIMS96 is not in a valid format for access method
>SASV6SEQ.
>
>
>Why shouldn't this work?
>
>Can I do this in a single data step?
>
>I have decided against PROC APPEND because I am selecting only some
>records and am creating derivative variables, as well.
>
>
/*=====================*/
W. W. Viergever
Viergever & Associates
Sacramento, CA
(916) 923-2355
/*=====================*/
|