IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Enterprise PL1 error - Invalid DEFINED


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
romuwald

New User


Joined: 23 Nov 2005
Posts: 2

PostPosted: Fri Jul 23, 2010 9:54 pm
Reply with quote

I am recompiling the PL1 programs in test for Enterprise PL1 upgrade. And for one of the PL1 program getting the following error message IBM1385I E Invalid DEFINED - string overlay defining attempted. The declarations where the error message is thrown out is in line numbers 37 and 44.

Code:
37.0            DCL 1 PARENT_REC_IN   DEFINED INPUT,       
38.0                  2 FILL01        CHAR(19)          , 
39.0                  2 RECTYPE       CHAR(03)          , 
40.0                  2 FILL02        CHAR(38)          , 
41.0                  2 PACKED1       FIXED(7,2)        , 
42.0                  2 FILL03        CHAR(36)          ; 
43.0                                                       
44.0            DCL 1 CHILD_REC_IN    DEFINED INPUT,       
45.0                  2 FILL01        CHAR(19)          , 
46.0                  2 RECTYPE       CHAR(03)          , 
47.0                  2 FILL02        CHAR(72)          , 
48.0                  2 PACKED1       FIXED(7,4)        , 
49.0                  2 FILL03        CHAR(19)          , 
50.0                  2 PACKED2       FIXED(5,1)        , 
51.0                  2 PACKED3       FIXED(9,2)        , 
52.0                  2 FILL04        CHAR(15)          ; 
Please advice.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 23, 2010 10:48 pm
Reply with quote

Hello and welcome to the forum,

You did not post the info needed. . .

Show the INPUT code.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Sat Jul 24, 2010 12:50 am
Reply with quote

Using FIXED fields in a structure DEFINED on another is one of the new no-no's in Enterprise PL/I. Read about UNION and start using it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top