IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Not enough virtual memory is available to continue


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vinay Pushpala

New User


Joined: 06 Nov 2013
Posts: 21
Location: India

PostPosted: Tue Sep 13, 2016 4:37 pm
Reply with quote

Im trying to build an archdef in SCLM and Im getting the below error message from the compiler.

Code:
 
IBM1521I S              Not enough virtual memory is available to continue
                      the compile.                                     


These are my PLI Compiler options
Code:

         FLMLANGL  LANG=PLIO,BUFSIZE=200,VERSION=2.3.0,CHKSYSLB=BUILD, ALCSYSLB=Y
*
         FLMINCLS  TYPES=(PLINCL,@@FLMTYP)
*  STEP  1:  PARSER TRANSLATOR
         FLMTRNSL  CALLNAM='SCLM PL/I PARSE',
               FUNCTN=PARSE, COMPILE=FLMLPGEN, PORDER=3,
      OPTIONS=(SOURCEDD=SOURCE,PARSEMEM=@@FLMMBR,STATINFO=@@FLMSTP,LISTINFO=@@FLMLIS,LISTSIZE=@@FLMSIZ,LANG=I)

* SOURCE
         FLMALLOC  IOTYPE=A,DDNAME=SOURCE
         FLMCPYLB @@FLMDSN(@@FLMMBR)
*           PL/I MEMBER EXPANSION -
         FLMTRNSL  CALLNAM='PLI EXPANSION', FUNCTN=BUILD,COMPILE=IBMZPLI, DSNAME=SYS1.VAPLI.SIBMZCMP,VERSION=3.5,
                           GOODRC=4, PORDER=1, OPTIONS=(NOOBJECT,MACRO,MDECK,NOSYNTAX,INSOURCE,SOURCE)
*        (* SYSPRINT *)
         FLMALLOC  IOTYPE=W,RECFM=VBA,LRECL=125, RECNUM=50000,PRINT=Y,DDNAME=SYSPRINT
*        (* SYSPUNCH *)
         FLMALLOC  IOTYPE=W,RECFM=FB,LRECL=80,DDNAME=SYSPUNCH, RECNUM=50000, RECNUM=50000
*        (* SYSUT1 *)
         FLMALLOC  IOTYPE=W,RECNUM=500000,DDNAME=SYSUT1
*        (* SYSIN *)
         FLMALLOC  IOTYPE=S,KEYREF=SINC,DDNAME=SYSIN
*        (* SYSLIB*)
         FLMALLOC  IOTYPE=I,KEYREF=SINC,DDNAME=SYSLIB

*  STEP  2: BUILD TRANSLATOR(S) --PL/I OPTIMIZER INTERFACE--*
         FLMTRNSL  CALLNAM='PL/I OPTIMIZER', FUNCTN=BUILD, COMPILE=IBMZPLI, DSNAME=SYS1.VAPLI.SIBMZCMP,
               VERSION=3.0, GOODRC=4, PORDER=1, OPTIONS='+DD:OPTIONS,COPYRIGHT("MOD=@@FLMMBR @@FLMUID ")'
         FLMALLOC  IOTYPE=A,DDNAME=OPTIONS
            FLMCPYLB ***.PROJDEFS.PROCLIB(PLIZOPT)
* DDNAME ALLOCATIONS
*        (* TASKLIB  *)
         FLMALLOC  IOTYPE=A,DDNAME=TASKLIB
               FLMCPYLB SYS1.VAPLI.SIBMZCMP
               FLMCPYLB SYS1.SCEERUN
*        (* SYSLIN *)
         FLMALLOC  IOTYPE=O,KEYREF=OBJ,RECFM=FB,LRECL=80,RECNUM=50000,DFLTTYP=OBJ,DDNAME=SYSLIN
*        (* SYSLIB *)
         FLMALLOC  IOTYPE=I,KEYREF=SINC,DDNAME=SYSLIB
*        (* SYSPRINT *)
         FLMALLOC  IOTYPE=O,KEYREF=LIST,RECFM=VBA,LRECL=137, RECNUM=50000,PRINT=Y,DFLTTYP=PLILIST,DDNAME=SYSPRINT


And values of ***.PROJDEFS.PROCLIB(PLIZOPT):
ATTRIBUTES(SHORT)
DEFAULT(LINKAGE(SYSTEM))
OBJECT
SYSTEM(MVS)
FLAG(I)
INITAUTO
INITSTATIC
MAXMEM(2097152)
OFFSET
OPTIMIZE(3)
OPTIONS
PP(MACRO)
RULES(NOLAXDCL NOLAXPUNC)
SOURCE
XREF(SHORT)

Could anyone please tell me what options can I change to increase the memory size in SCLM ?
Any help is appreciated.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Sep 13, 2016 6:24 pm
Reply with quote

See your site support for SCLM.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 13, 2016 6:45 pm
Reply with quote

The compiler options can impact the amount of memory required, but to change the region for the compile itself, you must work outside the compiler. As Nic said, contact your site support group for assistance.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Tue Sep 13, 2016 7:15 pm
Reply with quote

I concur with both Mr. Clouston and Mr. Sample. Don't forget that SCLM, ISPF and parts of TSO are sitting in storage before SCLM starts the PL/I compiler. In addition, if you have other ISPF windows open, they too require storage. In other words, if you have more than one ISPF window running, close them before starting the compiler. You should review the value in the SIZE field in your TSO/E LOGON screen. Your support may demand this number of you, so get it before you call support.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed Sep 14, 2016 1:04 pm
Reply with quote

if you are running RACF then this command can show you your size limits
TSO LU your-logonid TSO NORACF
assuming that you are allowed to see your TSO segment
Back to top
View user's profile Send private message
Vinay Pushpala

New User


Joined: 06 Nov 2013
Posts: 21
Location: India

PostPosted: Wed Sep 14, 2016 4:05 pm
Reply with quote

Hi guys,
Thanks for valuable inputs.
I compressed the object library and tried to build it. But was getting the same error message.
But don't know why and how, sometime after compressing (like 15mins) it started working.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Sep 14, 2016 4:29 pm
Reply with quote

Why are you compressing the library instead of talking to your site support group? If you ask for help, and multiple responders tell you to talk to your site support group, that is what you need to do.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Sep 14, 2016 5:42 pm
Reply with quote

Why are you compressing a library? Your message is about memory not space.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Wed Sep 14, 2016 7:12 pm
Reply with quote

Willy Jensen wrote:
if you are running RACF then this command can show you your size limits
TSO LU your-logonid TSO NORACF
assuming that you are allowed to see your TSO segment


Everyone can see their SIZE on their TSO-E LOGON screen. There is another field - MAXSIZE - that you can't see. But that's immaterial.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Sep 14, 2016 9:59 pm
Reply with quote

Quote:
Everyone can see their SIZE on their TSO-E LOGON screen.

Not everyone! Some shops skip past the logon screen and take you directly to the primary ISPF screen. icon_sad.gif
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Wed Sep 14, 2016 11:00 pm
Reply with quote

Terry Heinze wrote:
Quote:
Everyone can see their SIZE on their TSO-E LOGON screen.

Not everyone! Some shops skip past the logon screen and take you directly to the primary ISPF screen. icon_sad.gif
Personal opinion: dumb idea. The logon is probably being supervised by a session manager. Even in that environment, if you can get a standalone READY prompt, just enter LOGON your-id, which should take you to the TSO-E LOGON screen.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Sep 15, 2016 3:19 am
Reply with quote

Enterprise PL/I with OPT(3) needs REGION=0M (or another huge number)

And show us all your compiler options, if only from a listing!

FWIW,

Code:
INITAUTO


is bad, very, very, very, very bad. Only slightly less bad as using anything other than "NONE" as the third parameter of the LE "STORAGE" option.

Then again, it will allow your employer to significantly up its charges as they'll be using oodles more CPU.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Sep 15, 2016 7:17 pm
Reply with quote

Quote:
Even in that environment, if you can get a standalone READY prompt, just enter LOGON your-id, which should take you to the TSO-E LOGON screen.

Thanks Steve. I didn't realize that.
Code:
------------------------------- TSO/E LOGON -----------------------------------


   Enter LOGON parameters below:                   RACF LOGON parameters:

   Userid    ===> xxxxxx

   Password  ===>

   Procedure ===> SPDACCNT                         Group Ident  ===>

   Acct Nmbr ===> AAB00

   Size      ===> 8192

   Perform   ===>

   Command   ===>

   Enter an 'S' before each option desired below:
   -New Password    -Nomail    -Nonotice    -Reconnect    -OIDcard

PF1/PF13 ==> Help    PF3/PF15 ==> Logoff    PA1 ==> Attention    PA2 ==> Reshow
You may request specific help information by entering a '?' in any entry field
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Thu Sep 15, 2016 9:38 pm
Reply with quote

Why isn't the OP doing a Batch Compile?

That is our preferred method of doing things.

This way you can control the region size in the jcl.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Sep 15, 2016 10:01 pm
Reply with quote

The tools available to Vinay-kun (he mentions SCLM) may prefer or require online compiles.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Thu Sep 15, 2016 10:04 pm
Reply with quote

We have SCLM and this is an option (Process):

Code:
Output control:
               Ex Sub                  Process . . 2  1. Execute
  Messages . . 3  2    1. Terminal                    2. Submit
  Report . . . 3  2    2. Printer
  Listings . . 3  2    3. Data set     Printer . . Z
                       4. None         Volume  . .
Back to top
View user's profile Send private message
Vinay Pushpala

New User


Joined: 06 Nov 2013
Posts: 21
Location: India

PostPosted: Thu Sep 22, 2016 11:14 am
Reply with quote

Guys,
The size that you see on the screen is 4096. Im not permitted to change it. And if I change the max memory value to try increase it, it shows a message in the spool that the number given in max memory field is not allowed.
Yes I will go to the site support for future but I just said that it worked for time being and once I move the load module to production, I will look into what you guys are saying.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Access an specific memory address exp... COBOL Programming 1
No new posts Foreign character look different in m... COBOL Programming 3
No new posts Using Virtual Tape Server TS7700 as c... All Other Mainframe Topics 0
No new posts INSUFFICIENT VIRTUAL STORAGE!! SYNCSORT 1
Search our Forums:

Back to Top