Help using Base SAS procedures

ERROR: Insufficient space in file

Reply
New Contributor
Posts: 2

ERROR: Insufficient space in file

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.
Super Contributor
Super Contributor
Posts: 3,174

Re: ERROR: Insufficient space in file

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.
Ask a Question
Discussion stats
  • 1 reply
  • 384 views
  • 0 likes
  • 2 in conversation