View previous topic :: View next topic
|
Author |
Message |
Vinay Pushpala
New User
Joined: 06 Nov 2013 Posts: 21 Location: India
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
See your site support for SCLM. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
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 |
|
|
Vinay Pushpala
New User
Joined: 06 Nov 2013 Posts: 21 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Why are you compressing a library? Your message is about memory not space. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
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. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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. |
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
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,
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
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 |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
The tools available to Vinay-kun (he mentions SCLM) may prefer or require online compiles. |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
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 |
|
|
Vinay Pushpala
New User
Joined: 06 Nov 2013 Posts: 21 Location: India
|
|
|
|
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 |
|
|
|