|
View previous topic :: View next topic
|
| Author |
Message |
srvmani Warnings : 1 New User
Joined: 30 Dec 2003 Posts: 19
|
|
|
|
Hi, I have a local copybook in natural. I would like to know the length of the copybook.
TIA
Subba |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
1. There is no such term as "copybook" in Natural (however, there is a CopyCode)
2. There is no such term as "local copybook" in Natural (however, there is a Local Data Area).
Please clarify.
O. |
|
| Back to top |
|
 |
srvmani Warnings : 1 New User
Joined: 30 Dec 2003 Posts: 19
|
|
|
|
Hi
I have the requirement like this...pls go through...and please let me know your valuable suggestions..
1. I have a natural copycode.
2. I would like to convert natural copycode as a cobol copybook.
3. Is there any utility available in the natural?
Please suggest..
TIA
Subba |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
No.
Natural Copycodes may include any valid Natural statement (except DEFINE DATA).
Converting a Natural Copycode to COBOL Copybook means to actually convert Natural to COBOL, which is not so straight-forward.
Conversion of Natural to COBOL can be automated using tools and methodologies. For more information, please contact me in Private Message.
O. |
|
| Back to top |
|
 |
srvmani Warnings : 1 New User
Joined: 30 Dec 2003 Posts: 19
|
|
|
|
pls provide a valid mail id..
subba |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
The forum has an internal mail system - Private Messages or simply PM.
Look at the bottom of eash post and there is a PM you can click to send that person a private message. |
|
| Back to top |
|
 |
monasu1998
Active User

Joined: 23 Dec 2005 Posts: 176 Location: India
|
|
|
|
Hi Subba,
Your requirement is not yet clear. What I understad is
You have a LDA in Natural and want to creat the corresponding COBOL copybook.
For the above requirement, there is nothing straight forward as told by Ofer.
May be there are tools available from 3rd parties, but you can develop a small utility by writing a Natural program to create teh appropriate Cobol copybook from the Natural LDA. (This is what we did in one of the project I was working).
Thanks,
| srvmani wrote: |
Hi
I have the requirement like this...pls go through...and please let me know your valuable suggestions..
1. I have a natural copycode.
2. I would like to convert natural copycode as a cobol copybook.
3. Is there any utility available in the natural?
Please suggest..
TIA
Subba |
|
|
| Back to top |
|
 |
Ralph Zbrog
New User
Joined: 21 Nov 2009 Posts: 58 Location: California
|
|
|
|
If you have Adabas and Natural, then it is likely that you have Predict, Software AG's data dictionary. Predict can convert LDAs to COBOL copybooks.
Also, Predict can list the copybooks, optionally with field offsets, giving you the "copybook length." |
|
| Back to top |
|
 |
|
|