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

Easytrieve


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

New User


Joined: 30 Jul 2009
Posts: 32
Location: Gurgaon

PostPosted: Fri Feb 05, 2010 5:36 pm
Reply with quote

Hi
Can you please correct me for this COBOL field details in easytrive
I have doubt regarding data type for group variable in easytrieve layout(INP-Variable-A-GRP ? A )
COBOL:-
10 Variable-A-GRP.
20 Variable-B PIC 9(5) COMP-3.
20 Variable-C PIC 9.
20 Variable-D PIC 9(5) COMP-3.
Easytrieve
INP-Variable-A-GRP 7 A
INP-Variable-B 3 P
INP-Variable-C 1 N
INP-Variable-D 3 P

Any help would be appreciated.


Regards,
Pravesh
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Feb 05, 2010 5:43 pm
Reply with quote

What have you tried and what was the failure that you experienced.

If you have not tried it, then go do so, because trial and error is the best teacher.
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 Feb 05, 2010 9:36 pm
Reply with quote

Hello,

Hint - the Easytrieve definition posted is longer than the cobol definition because the Easytrieve definition does not define a "group field". . .
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 05, 2010 10:23 pm
Reply with quote

Try this :

Code:

INP-Variable-A-GRP                  7 A
INP-Variable-B INP-Variable-A-GRP   3 P
INP-Variable-C INP-Variable-A-GRP+3 1 N
INP-Variable-D INP-Variable-A-GRP+4 3 P
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 Count the number of characters in a f... CA Products 1
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
No new posts Easytrieve EZABX007 with error code 0... CA Products 7
No new posts Converting SAS code to Cobol or Easyt... All Other Mainframe Topics 6
No new posts Easytrieve with SQL CA Products 1
Search our Forums:

Back to Top