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
 

 

Compiler warning will affect in compiler V4.3

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Karthikeyan Subbarayan

New User


Joined: 24 Feb 2008
Posts: 56
Location: Boston

PostPosted: Thu Mar 13, 2014 7:57 pm    Post subject: Compiler warning will affect in compiler V4.3
Reply with quote

hi All,
There is an requirement to change Pl/I compiler version from V3.7 to V4.3 and in most of the programs we are getting the below WARNING. Do we really need to address this warning, what will cause if the below WARNING is not addressed

Quote:

IBM2634I W 172.2 Given the support for addressing arithmetic, basing a
FIXED BIN on a POINTER or OFFSET is unnecessary, and
it will also fail to work properly if the size of a
POINTER changes.


We also get this warning in some of the copy book, which really scars us since it affect most of the components.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Mar 13, 2014 8:17 pm    Post subject: Reply to: Compiler warning will affect in compiler V4.3
Reply with quote

why not read the PL/1 migration guide

Your support should look carefully at the customization to understand
if and when 64 bits pointers will/might be used
( all depends on the allocated storage range )

if that is the case ( 64 bits pointers )
You should consider reviewing Your programs to use the PL/1 provided pointer arithmetics
( which does not depend on the pointer size )
Back to top
View user's profile Send private message
Karthikeyan Subbarayan

New User


Joined: 24 Feb 2008
Posts: 56
Location: Boston

PostPosted: Thu Mar 13, 2014 10:00 pm    Post subject: Reply to: Compiler warning will affect in compiler V4.3
Reply with quote

Sure, I will read the PL/1 migration guide. Just to get brief idea so that i can understand clearly while reading.

All our programs use "FIXED BIN(31)" so it will not cause any impact in the output though we are not addressing the issue. Do my understanding is correct ?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu Mar 13, 2014 10:26 pm    Post subject:
Reply with quote

Just the opposire; re-read the message.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Mar 13, 2014 11:10 pm    Post subject: Reply to: Compiler warning will affect in compiler V4.3
Reply with quote

oh my goodness ...

a 32 bits pointer will use 4 bytes
a fixed bin 31 thing will use 4 bytes

a 64 bits pointer will use 8 bytes
so a fixed bin 31 rebased/redefined on it will map only the leftmost 32 bits ...

scary isn' t it ?
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 Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Problem Compiling cobol code with Cob... amitc23 COBOL Programming 2 Wed Aug 24, 2016 1:50 pm
No new posts COBOL compiler upgrade vicky10001 COBOL Programming 4 Mon Jul 25, 2016 1:44 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts CEXEC not able to execute if no SLINE... boyti ko CLIST & REXX 2 Wed Apr 13, 2016 4:31 pm


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