View previous topic :: View next topic
|
Author |
Message |
PORYES
New User
Joined: 04 Apr 2007 Posts: 38 Location: Chennai
|
|
|
|
Hi-
I have a cobol copybook and I want declare the same in easytrieve.
cobol copybook layout
01 LS-INY100-PARMS
05 LS-INY100-TABLE
10 INY100-CALLING-ITEM OCCURS 20 TIMES
ASCENDING KEY IS I100-KEY
INDEXED BY I100-INDEX
15 I100-KEY
20 INY100-PART PIC 9(5)
How to convert the layout in easytrieve? Can anyone shed some light on this? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
PORYES
New User
Joined: 04 Apr 2007 Posts: 38 Location: Chennai
|
|
|
|
Thanks SuperK.
Is there any other way I can convert?
I looked for CBLCNVRT macro in my shop, But didn't get a luck.. |
|
Back to top |
|
|
Gary McDowell
Active User
Joined: 15 Oct 2012 Posts: 139 Location: USA
|
|
|
|
We have MACRO4 Data Manipulation in our shop which can convert COPY to Easytrieve Plus File Layout Macro. I tried it and got the following…
Code: |
01 LS-INY100-PARMS.
05 LS-INY100-TABLE.
10 INY100-CALLING-ITEM OCCURS 20 TIMES
ASCENDING KEY IS I100-KEY
INDEXED BY I100-INDEX
15 I100-KEY
20 INY100-PART PIC 9(5). |
Code: |
MACRO
LS-INY100-PARMS 1 100 A
LS-INY100-TABLE 1 100 A
INY100-CALLING-ITEM 1 5 A +
OCCURS 20 INDEX(SUB001)
I100-KEY +
INY100-CALLING-ITEM 5 A
INY100-PART +
INY100-CALLING-ITEM 5 N |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I looked for CBLCNVRT macro in my shop, But didn't get a luck.. |
This is a built-in conversion available with Easytrieve. It is installed along with Easytrieve.
Where did you look for this? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Well, i'd recommend checking "things" with the vendor (CA) rather than IBM doc.
For years CBLCNVRT was part of the product. When the jump was made to the first R11, someone got the bright idea to Not include it in the install. After enough users said they wanted it back, it has been put back into the product - so if someone installs the current software, it will be there.
It has always been available but for some recent years, it was a burp . . .
Anyway, the macros quite likely may already be on the system (depending on how current the release) and simply need to be discovered. If they are not, CA can make them available. A few years ago a client was very far behind on releases and the CBLCNVRT installed failed sometimes. CA sent me the new macros and we were able to run the "new" cblcnvrt on a very old release. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
dick scherrer wrote: |
Hello,
Well, i'd recommend checking "things" with the vendor (CA) rather than IBM doc.
|
I stand corrected, my research should have been more acute. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Not to worry
This is like the flip-side of "JCL Checkers" many sites use. They are not current so they raise errors that are Not . . .
Be well, and thanks for the feedback - i was not aware cblcnvrt was mentioned in IBM material
d
ps. it must be Emoticon Day here . . . |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
dick scherrer wrote: |
ps. it must be Emoticon Day here . . . |
Sure, especially after surviving "Blue Monday" |
|
Back to top |
|
|
|