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

EASYTRIVE Compilation issue


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Thu Jan 11, 2007 5:48 pm
Reply with quote

There is some compilation problem in the folowing piece of easytrive code. Could anybody help me solvinig this?

PARM LINK(NBBPRMIS, R) +
DEBUG (CLIST, DMAP, XREF LONG)
FILE FILEA WORKAREA 13219
IN*REC 1 13219 A
IMP*PEND*REC 1 1 A
POLICY*NO 10 8 A
ENT*STAT*CD 31 2 A
ENT*PAID*DT 225 6 A
ENT*PAID*YR 225 2 N
ENT*PAID*MO 227 2 N
*
A1 1 254 A
A2 * 254 A
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
A3 * 254 A
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
A4 * 254 A
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
A5 * 254 A
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
A6 * 254 A
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
A7 * 254 A
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
A8 * 254 A
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 6:44 pm
Reply with quote

Sahoo wrote:
There is some compilation problem in the folowing piece of easytrive code. Could anybody help me solvinig this?

Code:
PARM LINK(NBBPRMIS, R)  +                                       
DEBUG (CLIST, DMAP, XREF LONG)                                 
FILE FILEA WORKAREA 13219                                       
IN*REC         1  13219 A                                       
IMP*PEND*REC   1  1  A                                         
POLICY*NO     10  8  A                                         
ENT*STAT*CD   31  2  A                                         
ENT*PAID*DT  225  6  A                                         
ENT*PAID*YR  225  2  N                                         
ENT*PAID*MO  227  2  N                                         
*                                                               
A1 1 254 A                                                     
A2 * 254 A                                                     
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254       
A3  *  254 A                                                   
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254       
A4  *  254 A                                                   
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254       
A5  *  254 A                                                   
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254       
A6  *  254 A                                                   
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254       
A7  *  254 A                                                   
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254       
A8  *  254 A                                                   
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 254
I'm thinking that the asterisk on the A2 line is being interpreted thus: "The * (asterisk) indicates that the field begins in the next available starting position (highest location defined so far, plus 1)" which is putting it at the end of "IN*REC" plus 1. Is that what you intended?
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Thu Jan 11, 2007 7:39 pm
Reply with quote

There is no replationship between file layout with the A1 and A2 declaration. That is what was intended. Why Compilation is failing?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 7:45 pm
Reply with quote

CA-Easytrieve/Plus Reference Guide wrote:
The * (asterisk) indicates that the field begins in the next available starting position (highest location defined so far, plus 1)
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 7:51 pm
Reply with quote

CA-Easytrieve/Plus Reference Guide wrote:
The * (asterisk) indicates that the field begins in the next available starting position (highest location defined so far, plus 1)
Opps icon_eek.gif dang button
Try replacing the asterisks with +1
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Facing ABM3 issue! CICS 3
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top