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
 
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 SIGNAL ON HALT issue packerm CLIST & REXX 1 Fri Oct 20, 2017 6:56 pm
No new posts Easytrive Redefine vidyaa CA Products 4 Mon Jun 19, 2017 6:01 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
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

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