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
 

 

PL/I Compiler Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: PL/I Compiler Error
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue May 11, 2010 4:11 pm    Post subject:
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: 2433
Location: Netherlands, Amstelveen

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

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

Active Member


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

PostPosted: Tue May 11, 2010 5:06 pm    Post subject:
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

Active Member


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

PostPosted: Fri May 14, 2010 7:29 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


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