increase memory of SAS in JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

increase memory of SAS in JCL

Postby GeorgeQ » Thu Aug 10, 2017 11:06 pm

Hello everyone,

I am trying to revise JCL code to increase memory size of SAS. by default SAS use 2 GB memory. while I need 4 GB.

I tried to change REGION size but that does not work for changing memory size of SAS.

Please advise me.

Thank you very much!
GeorgeQ
 
Posts: 28
Joined: Fri Jun 16, 2017 1:08 am
Has thanked: 12 times
Been thanked: 0 time

Re: increase memory of SAS in JCL

Postby GeorgeQ » Fri Aug 11, 2017 12:51 am

something like this is needed:
//STEP EXEC SAS MEMSIZE = 4G
GeorgeQ
 
Posts: 28
Joined: Fri Jun 16, 2017 1:08 am
Has thanked: 12 times
Been thanked: 0 time

Re: increase memory of SAS in JCL

Postby Robert Sample » Fri Aug 11, 2017 2:12 pm

There are 3 areas of memory on z/OS these days; below the line, below the bar, and above the bar. Below the line refers to memory addresses 0 to 16777215 (16 MB - 1) and is what is available when using 24-bit addressing (the original addressing scheme). Below the bar refers to memory address 0 to 2,147,483,647 (2 GB - 1) and is what is available when using 31-bit addressing (what IBM made available when programs starting running short of memory when using 24-bit addressing). Above the bar refers to memory address 4,294,967,294 (4 GB) and above and is what is available when using 64-bit addressing (what IBM made available to z/OS after programs started running short of memory when using 31-bit addressing). Unlike the first two, 64-bit memory does not allow programs to execute in it; only data may be stored there. And unlike the first two, 64-bit memory is only available on system z hardware and software.

Why is this important? Because if your SAS program needs more 31-bit memory than the 2 GB available, there is no physical way to provide that. MEMLIMIT refers to 64-bit memory and depending on what SAS needs the extra memory for, it may -- or may not -- help you.

Contact your site support group and work with them on your issue.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post