BookmarkSubscribeRSS Feed
sparky
Calcite | Level 5
I have the following job:

//CS277DE7 JOB (PFRP,MAIL,0,999,0),'RCB',MSGLEVEL=1,
// CLASS=C,MSGCLASS=Z,REGION=7600K
/*JOBPARM Q=A
/*OUTPUT SASO COPIES=1,FORMS=E150
/*ROUTE PRINT LOCAL
//S01 EXEC SASP6,RMT='',TIME=90,
// RPTFORM='(F,,SASO)',REGION=3800K
//WORK DD UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)
//WORK1 DD UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)
//WORK2 DD UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)
//WORK3 DD UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)
//DATAIN DD DSN=CS277.SAS.JCL,DISP=SHR
//SYSIN DD *
%INCLUDE DATAIN(MODSHARE);
//*-----------------------------------------------------------------//*

Executing program MODSHARE:

*PTIONS OBS = 1000;

%SHARERD(GPS);
FILENAME EURWU 'S.SET.SE060262.MODEL.PART(0)';

DATA WU;
INFILE EURWU;
INPUT
@1 PN $15.
@16 MFG $3.
@19 MODEL $35.
@54 YRPRD $4.
@58 FAMILY $50.
@108 PRDCLS $3.
@111 EMPHCLS $1.
;
*F YRPRD=1989;
PN1 =MFG||PN;
PROC SORT ;BY PN1;
DATA _NULL_;
SET WU;
FILE 'WG076.SARA.REPORT';
PUT
PN $15.
MFG $3.
MODEL $35.
YRPRD $4.
;
RUN;
ENDSAS;

The job is abending with the following messages:

20 +PN1 =MFG||PN;

NOTE: The infile EURWU is:
Dsname=S.SEP.SE060262.MODEL.PART.G0935V00(0),
Unit=9348,Volume=538351,Disp=SHR,Blksize=32430,
Lrecl=345,Recfm=FB

ERROR: Insufficient space in file WORK.WU.DATA.
ERROR: Insufficient space in file WORK.WU.DATA.
ERROR: Insufficient space in file WORK.WU.DATA.

and

21 +PROC SORT ;BY PN1;

NOTE: The PROCEDURE SORT used 0.00 CPU seconds and 4841K.

ERROR: Insufficient space in file WORK.@T000001.UTILITY.
ERROR: Insufficient space in file WORK.@T000001.UTILITY.
ERROR: Insufficient space in file WORK.@T000001.UTILITY.
FATAL: Insufficient memory to execute data step program.
FATAL: Insufficient memory to execute data step program.
FATAL: Insufficient memory to execute data step program.

I have incrementally increased the space allocation in the work files with no affect.

Any suggestions would be greatly appreciated.
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Get rid of the RLSE parameters for your temporary SAS files. Also, consider that you may not have "7" DISK volumes available to your job. You need to analyze your JES log and other system-generated (MSGCLASS) output to determine just what DISK allocation you are getting. And, it's unclear just what you are expecting WORK1 thru WORK3 to do for your job - from what code you have provided, it only shows where the //WORK allocation is being used.

Another option is to try setting OPTIONS COMPRESS=YES; in your job so that you will at least get the benefit from SAS compression (though at CPU expense), thereby reducing the SPACE requirement (data dependent though).

Also, it's recommended that you may have SAS user peers or your SAS z/OS System Admin who may be able to assist with your disk environment space problem, as well.

Scott Barry
SBBWorks, Inc.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1465 views
  • 0 likes
  • 2 in conversation