View previous topic :: View next topic
|
Author |
Message |
chinnielr
New User
Joined: 11 Jul 2005 Posts: 87
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Or you can break the program in pieces. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
chinnielr - Did you resolve your problem and wish to share the resolution? |
|
Back to top |
|
|
|