MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DFHJS2LS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Fri May 07, 2021 7:04 am    Post subject: DFHJS2LS Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri May 07, 2021 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Sat May 08, 2021 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group