Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Not enough virtual memory is available to continue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: Not enough virtual memory is available to continue
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: 1715
Location: UK

PostPosted: Tue Sep 13, 2016 6:24 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Tue Sep 13, 2016 6:45 pm    Post subject:
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 User


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

PostPosted: Tue Sep 13, 2016 7:15 pm    Post subject:
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

New User


Joined: 01 Sep 2015
Posts: 96
Location: Switzerland

PostPosted: Wed Sep 14, 2016 1:04 pm    Post subject:
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    Post subject: Reply to: Not enough virtual memory is available to continue
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: 7913
Location: Bellevue, IA

PostPosted: Wed Sep 14, 2016 4:29 pm    Post subject:
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: 1715
Location: UK

PostPosted: Wed Sep 14, 2016 5:42 pm    Post subject:
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 User


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

PostPosted: Wed Sep 14, 2016 7:12 pm    Post subject:
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: 1238
Location: Richfield, MN, USA

PostPosted: Wed Sep 14, 2016 9:59 pm    Post subject:
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 User


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

PostPosted: Wed Sep 14, 2016 11:00 pm    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Thu Sep 15, 2016 3:19 am    Post subject:
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: 1238
Location: Richfield, MN, USA

PostPosted: Thu Sep 15, 2016 7:17 pm    Post subject:
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: 645
Location: Pennsylvania

PostPosted: Thu Sep 15, 2016 9:38 pm    Post subject:
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: 1738
Location: Bloomington, IL

PostPosted: Thu Sep 15, 2016 10:01 pm    Post subject:
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: 645
Location: Pennsylvania

PostPosted: Thu Sep 15, 2016 10:04 pm    Post subject:
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    Post subject: Reply to: Not enough virtual memory is available to continue
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
No new posts How to map virtual printer in JCL, to... user_22 JCL & VSAM 6 Fri Apr 15, 2016 10:04 pm
No new posts Virtual job scheduling on TWS spoorni IBM Tools 2 Wed Dec 23, 2015 6:11 am
No new posts issues with memory in programs with c... sivakumar.karthik CICS 4 Thu Aug 13, 2015 8:56 pm
No new posts Memory Exception rakhin CICS 2 Thu Feb 19, 2015 9:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us