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
 

 

EASYTRIVE Compilation issue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: EASYTRIVE Compilation issue
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: 3158
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 6:44 pm    Post subject: Re: EASYTRIVE Compilation issue
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    Post subject: Re: EASYTRIVE Compilation issue
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: 3158
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 7:45 pm    Post subject: Re: EASYTRIVE Compilation issue
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: 3158
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 7:51 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts REXX Screen not working due to LINKED... sundarkudos CLIST & REXX 1 Mon May 09, 2016 1:44 pm
No new posts Issue in sending zip file as mail att... ajithajt JCL & VSAM 8 Thu Apr 07, 2016 9:11 am


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