View previous topic :: View next topic
|
Author |
Message |
Pravesh
New User
Joined: 30 Jul 2009 Posts: 32 Location: Gurgaon
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
|