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

How to declare group variable for Comp-3 in Easy trieve?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Swami-gs

New User


Joined: 27 Apr 2007
Posts: 20
Location: Chennai

PostPosted: Thu Jul 30, 2009 9:27 pm
Reply with quote

Hello,

Please find the declaration below.

WS-SUM W 42 P 2
WS-ADJMT1 WS-SUM 07 P 2
WS-ADJMT2 WS-SUM +7 07 P 2
WS-ADJMT3 WS-SUM +14 07 P 2
WS-SUM-PD1 WS-SUM +21 07 P 2
WS-SUM-PD2 WS-SUM +28 07 P 2
WS-SUM-PD3 WS-SUM +35 07 P 2

It throws this error to me, when I run it
*******B097 LENGTH INVALID FOR TYPE - P

Let me know how to declare WS-SUM for this scenario.

Thanks in Advance
Swami
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 31, 2009 6:40 am
Reply with quote

Hello,

WS-SUM cannot be data type P. . . It is an alpha field.
Back to top
View user's profile Send private message
Swami-gs

New User


Joined: 27 Apr 2007
Posts: 20
Location: Chennai

PostPosted: Fri Jul 31, 2009 3:34 pm
Reply with quote

oh... got you..

Thanks for your help icon_biggrin.gif
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: Sat Aug 01, 2009 4:48 am
Reply with quote

You're welcome icon_smile.gif

d
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
Search our Forums:

Back to Top