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
 
How to declare group variable for Comp-3 in Easy trieve?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: How to declare group variable for Comp-3 in Easy trieve?
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

Site Director


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

PostPosted: Fri Jul 31, 2009 6:40 am    Post subject:
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    Post subject: Reply to: How to declare group variable for Comp-3 in Easy t
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

Site Director


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

PostPosted: Sat Aug 01, 2009 4:48 am    Post subject: Reply to: How to declare group variable for Comp-3 in Easy t
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts CONDITIONAL USING COMP-2 WITH PROBLEMS. JOSUEGENTIL COBOL Programming 7 Wed Nov 08, 2017 11:13 pm
No new posts how can i move s9(9) to s9(9) usage comp HARENDRA CHOUDHARY COBOL Programming 3 Mon Nov 06, 2017 12:10 am
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am

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