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

PL/I Compiler Error


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chinnielr

New User


Joined: 11 Jul 2005
Posts: 87

PostPosted: Tue May 11, 2010 3:42 pm
Reply with quote

Hi,

I am getting the following compiler error whenever I try to add a new variable in PL/I and compile the program. Please find below the error I was getting.

IEL0991I U 1676 COMPILER RESTRICTION. PROGRAM TOO LARGE. COMPILATION TERMINATED IN PHASE 'GI'.

Below is the PL/I version that our shop uses.
IBM PL/I for MVS & VM Ver 1 Rel 1 Mod 1

Please suggest me how to get rid of this problem.

Thanks in advance.

Kiran.
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 May 11, 2010 4:11 pm
Reply with quote

If the program compiles without the variable, and won't compile with the variable: you can reduce the size of the variable, or you can not use that variable, or you can upgrade the compiler in the hope that a newer version supports larger programs.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue May 11, 2010 4:32 pm
Reply with quote

Or you can break the program in pieces.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue May 11, 2010 5:06 pm
Reply with quote

I used PL/I many years ago for a very large program.

Try this - as goofy as it seems.

PL/I has two ways to block code: DO; ... END; and BEGIN; ... END;

Somewhere in the PL/I Programmer's Guide (I think) it says (to solve your problem) to break your DCL's (declares) up with BEGIN...END's.

Somehow this let's the compiler build new symbol tables.

Let us know please if it works.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Fri May 14, 2010 7:29 pm
Reply with quote

chinnielr - Did you resolve your problem and wish to share the resolution?
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top