BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am facing some memory issues in execution of a SAS Job that deals with large amount of data. The issue is that the memory utilized by SAS exceeds the total amount of memory that is allocated in calling JCL.

The memory is allocated in work area as follows:

//WORK DD SPACE=(CYL,(4369,4369)),
// UNIT=(SYSDA),DATACLAS=DCMVOL,
// DCB=(LRECL=27648,BLKSIZE=27648,RECFM=FS,DSORG=PS)

Can some one please suggest how to allocate more memory for WORK area then allocated above. Should some more options be used in SPACE and UNIT?
Some options I have used:
REGION = 1024M
MEMLEAVE=256M
PROCLEAVE=(2M,2M)
SYSLEAVE=(512K,512K)
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Honestly, you need to work with your SAS administrator -- there a difference between "WORK SPACE" and "SAS JOB-STEP MEMORY".

Also, you will gain more knowledge on this subject by reviewing the SAS companion document for z/OS, which is available at SAS support site.

Scott Barry
SBBWorks, Inc.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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