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: 8165
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: 2442
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: 965
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: 965
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

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