<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ERROR: Insufficient space in file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file/m-p/70567#M20300</link>
    <description>I have the following job:&lt;BR /&gt;
&lt;BR /&gt;
//CS277DE7 JOB (PFRP,MAIL,0,999,0),'RCB',MSGLEVEL=1,                   &lt;BR /&gt;
//   CLASS=C,MSGCLASS=Z,REGION=7600K                                   &lt;BR /&gt;
/*JOBPARM Q=A                                                          &lt;BR /&gt;
/*OUTPUT SASO COPIES=1,FORMS=E150                                      &lt;BR /&gt;
/*ROUTE  PRINT LOCAL                                                   &lt;BR /&gt;
//S01 EXEC SASP6,RMT='',TIME=90,                                       &lt;BR /&gt;
//      RPTFORM='(F,,SASO)',REGION=3800K                               &lt;BR /&gt;
//WORK   DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//WORK1  DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//WORK2  DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//WORK3  DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//DATAIN DD  DSN=CS277.SAS.JCL,DISP=SHR                                &lt;BR /&gt;
//SYSIN  DD  *                                                         &lt;BR /&gt;
%INCLUDE DATAIN(MODSHARE);                                             &lt;BR /&gt;
//*-----------------------------------------------------------------//*&lt;BR /&gt;
&lt;BR /&gt;
Executing program MODSHARE:&lt;BR /&gt;
&lt;BR /&gt;
*PTIONS OBS = 1000;                           &lt;BR /&gt;
                                              &lt;BR /&gt;
%SHARERD(GPS);                                &lt;BR /&gt;
FILENAME EURWU 'S.SET.SE060262.MODEL.PART(0)';&lt;BR /&gt;
                                              &lt;BR /&gt;
DATA WU;                                      &lt;BR /&gt;
INFILE EURWU;                                 &lt;BR /&gt;
INPUT                                         &lt;BR /&gt;
@1 PN $15.                                    &lt;BR /&gt;
@16 MFG $3.                                   &lt;BR /&gt;
@19  MODEL   $35.                             &lt;BR /&gt;
@54  YRPRD   $4.                              &lt;BR /&gt;
@58  FAMILY  $50.                             &lt;BR /&gt;
@108 PRDCLS  $3.                              &lt;BR /&gt;
@111 EMPHCLS $1.          &lt;BR /&gt;
   ;                      &lt;BR /&gt;
*F YRPRD=1989;            &lt;BR /&gt;
PN1 =MFG||PN;             &lt;BR /&gt;
PROC SORT ;BY PN1;        &lt;BR /&gt;
DATA _NULL_;              &lt;BR /&gt;
SET WU;                   &lt;BR /&gt;
FILE 'WG076.SARA.REPORT'; &lt;BR /&gt;
PUT                       &lt;BR /&gt;
   PN $15.                &lt;BR /&gt;
   MFG $3.                &lt;BR /&gt;
   MODEL   $35.           &lt;BR /&gt;
   YRPRD   $4.            &lt;BR /&gt;
   ;                      &lt;BR /&gt;
RUN;                      &lt;BR /&gt;
ENDSAS;                   &lt;BR /&gt;
&lt;BR /&gt;
The job is abending with the following messages:&lt;BR /&gt;
&lt;BR /&gt;
20        +PN1 =MFG||PN;                               &lt;BR /&gt;
                                                       &lt;BR /&gt;
NOTE: The infile EURWU is:                             &lt;BR /&gt;
      Dsname=S.SEP.SE060262.MODEL.PART.G0935V00(0),    &lt;BR /&gt;
      Unit=9348,Volume=538351,Disp=SHR,Blksize=32430,  &lt;BR /&gt;
      Lrecl=345,Recfm=FB                               &lt;BR /&gt;
                                                       &lt;BR /&gt;
ERROR: Insufficient space in file WORK.WU.DATA.        &lt;BR /&gt;
ERROR: Insufficient space in file WORK.WU.DATA.        &lt;BR /&gt;
ERROR: Insufficient space in file WORK.WU.DATA.        &lt;BR /&gt;
&lt;BR /&gt;
and &lt;BR /&gt;
&lt;BR /&gt;
21        +PROC SORT ;BY PN1;                            &lt;BR /&gt;
                                                         &lt;BR /&gt;
NOTE: The PROCEDURE SORT used 0.00 CPU seconds and 4841K.&lt;BR /&gt;
                                                         &lt;BR /&gt;
ERROR: Insufficient space in file WORK.@T000001.UTILITY. &lt;BR /&gt;
ERROR: Insufficient space in file WORK.@T000001.UTILITY. &lt;BR /&gt;
ERROR: Insufficient space in file WORK.@T000001.UTILITY. &lt;BR /&gt;
FATAL: Insufficient memory to execute data step program. &lt;BR /&gt;
FATAL: Insufficient memory to execute data step program. &lt;BR /&gt;
FATAL: Insufficient memory to execute data step program. &lt;BR /&gt;
 &lt;BR /&gt;
I have incrementally increased the space allocation in the work files with no affect.&lt;BR /&gt;
&lt;BR /&gt;
Any suggestions would be greatly appreciated.</description>
    <pubDate>Fri, 27 May 2011 13:39:22 GMT</pubDate>
    <dc:creator>sparky</dc:creator>
    <dc:date>2011-05-27T13:39:22Z</dc:date>
    <item>
      <title>ERROR: Insufficient space in file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file/m-p/70567#M20300</link>
      <description>I have the following job:&lt;BR /&gt;
&lt;BR /&gt;
//CS277DE7 JOB (PFRP,MAIL,0,999,0),'RCB',MSGLEVEL=1,                   &lt;BR /&gt;
//   CLASS=C,MSGCLASS=Z,REGION=7600K                                   &lt;BR /&gt;
/*JOBPARM Q=A                                                          &lt;BR /&gt;
/*OUTPUT SASO COPIES=1,FORMS=E150                                      &lt;BR /&gt;
/*ROUTE  PRINT LOCAL                                                   &lt;BR /&gt;
//S01 EXEC SASP6,RMT='',TIME=90,                                       &lt;BR /&gt;
//      RPTFORM='(F,,SASO)',REGION=3800K                               &lt;BR /&gt;
//WORK   DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//WORK1  DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//WORK2  DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//WORK3  DD  UNIT=(SYSDA,7),SPACE=(CYL,(2500,1000),RLSE)               &lt;BR /&gt;
//DATAIN DD  DSN=CS277.SAS.JCL,DISP=SHR                                &lt;BR /&gt;
//SYSIN  DD  *                                                         &lt;BR /&gt;
%INCLUDE DATAIN(MODSHARE);                                             &lt;BR /&gt;
//*-----------------------------------------------------------------//*&lt;BR /&gt;
&lt;BR /&gt;
Executing program MODSHARE:&lt;BR /&gt;
&lt;BR /&gt;
*PTIONS OBS = 1000;                           &lt;BR /&gt;
                                              &lt;BR /&gt;
%SHARERD(GPS);                                &lt;BR /&gt;
FILENAME EURWU 'S.SET.SE060262.MODEL.PART(0)';&lt;BR /&gt;
                                              &lt;BR /&gt;
DATA WU;                                      &lt;BR /&gt;
INFILE EURWU;                                 &lt;BR /&gt;
INPUT                                         &lt;BR /&gt;
@1 PN $15.                                    &lt;BR /&gt;
@16 MFG $3.                                   &lt;BR /&gt;
@19  MODEL   $35.                             &lt;BR /&gt;
@54  YRPRD   $4.                              &lt;BR /&gt;
@58  FAMILY  $50.                             &lt;BR /&gt;
@108 PRDCLS  $3.                              &lt;BR /&gt;
@111 EMPHCLS $1.          &lt;BR /&gt;
   ;                      &lt;BR /&gt;
*F YRPRD=1989;            &lt;BR /&gt;
PN1 =MFG||PN;             &lt;BR /&gt;
PROC SORT ;BY PN1;        &lt;BR /&gt;
DATA _NULL_;              &lt;BR /&gt;
SET WU;                   &lt;BR /&gt;
FILE 'WG076.SARA.REPORT'; &lt;BR /&gt;
PUT                       &lt;BR /&gt;
   PN $15.                &lt;BR /&gt;
   MFG $3.                &lt;BR /&gt;
   MODEL   $35.           &lt;BR /&gt;
   YRPRD   $4.            &lt;BR /&gt;
   ;                      &lt;BR /&gt;
RUN;                      &lt;BR /&gt;
ENDSAS;                   &lt;BR /&gt;
&lt;BR /&gt;
The job is abending with the following messages:&lt;BR /&gt;
&lt;BR /&gt;
20        +PN1 =MFG||PN;                               &lt;BR /&gt;
                                                       &lt;BR /&gt;
NOTE: The infile EURWU is:                             &lt;BR /&gt;
      Dsname=S.SEP.SE060262.MODEL.PART.G0935V00(0),    &lt;BR /&gt;
      Unit=9348,Volume=538351,Disp=SHR,Blksize=32430,  &lt;BR /&gt;
      Lrecl=345,Recfm=FB                               &lt;BR /&gt;
                                                       &lt;BR /&gt;
ERROR: Insufficient space in file WORK.WU.DATA.        &lt;BR /&gt;
ERROR: Insufficient space in file WORK.WU.DATA.        &lt;BR /&gt;
ERROR: Insufficient space in file WORK.WU.DATA.        &lt;BR /&gt;
&lt;BR /&gt;
and &lt;BR /&gt;
&lt;BR /&gt;
21        +PROC SORT ;BY PN1;                            &lt;BR /&gt;
                                                         &lt;BR /&gt;
NOTE: The PROCEDURE SORT used 0.00 CPU seconds and 4841K.&lt;BR /&gt;
                                                         &lt;BR /&gt;
ERROR: Insufficient space in file WORK.@T000001.UTILITY. &lt;BR /&gt;
ERROR: Insufficient space in file WORK.@T000001.UTILITY. &lt;BR /&gt;
ERROR: Insufficient space in file WORK.@T000001.UTILITY. &lt;BR /&gt;
FATAL: Insufficient memory to execute data step program. &lt;BR /&gt;
FATAL: Insufficient memory to execute data step program. &lt;BR /&gt;
FATAL: Insufficient memory to execute data step program. &lt;BR /&gt;
 &lt;BR /&gt;
I have incrementally increased the space allocation in the work files with no affect.&lt;BR /&gt;
&lt;BR /&gt;
Any suggestions would be greatly appreciated.</description>
      <pubDate>Fri, 27 May 2011 13:39:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file/m-p/70567#M20300</guid>
      <dc:creator>sparky</dc:creator>
      <dc:date>2011-05-27T13:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file/m-p/70568#M20301</link>
      <description>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.&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 27 May 2011 13:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file/m-p/70568#M20301</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-05-27T13:46:51Z</dc:date>
    </item>
  </channel>
</rss>

