Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8280
Location: Dubuque, Iowa, 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: 2446
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: 972
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: 972
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 Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us