View previous topic :: View next topic |
Author |
Message |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Fri May 07, 2021 7:04 am Post subject: DFHJS2LS |
|
|
Maybe it's more complicated than I realize, but when generating a COBOL copybook via the utility above, it doesn't seem to show the length of the generated copybook anywhere.
The only (?) answer seems to be to copy/paste the copybook's contents into some source code and then compile that code and review the compiler listing.
Surely there must be an option somewhere? _________________ Michael |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri May 07, 2021 9:34 am Post subject: |
|
|
misi01,
In general you do NOT know the length of the COBOL COPYBOOK , unless you have 01 variable that defines that total length of the copybook or compiling the program and looking at the listing or using tools like File-aid/File-manager which can show you the length of the copybook with the fields and offsets. _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Sat May 08, 2021 10:39 am Post subject: |
|
|
Fair enough, I expressed myself badly. But couldn't the utility report the total length of all the fields it's generated. _________________ Michael |
|
Back to top |
|
 |
|
|