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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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