Know the length of copybook?

File-AID from Compuware and File Manager from IBM.
Previous topicNext topic
User avatar

Topic Author
Angel
Active Member
Posts: 101
Joined: Sat Jun 08, 2013 8:13 pm
Zodiac: Leo

Know the length of copybook?

Post by Angel » Mon Dec 30, 2013 12:29 am

Hi,

Is there any way in file-aid to know the length of the copybook? Any help is appreciated.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1375
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Know the length of copybook?

Post by Robert Sample » Mon Dec 30, 2013 2:45 am

First, your question is imprecise since you did not tell us if you want to know how many lines are in the copybook, or the length of the data structure described by the copybook, or something else.

The number of lines can be found by doing a TSO/ISPF edit or browse or view of the copybook member and scrolling to the end.

The length of the data structure can be found by compiling a program with the copybook and looking at the data map generated by the compile. File Aid and similar tools can also give you the length of the data structure.



User avatar

Topic Author
Angel
Active Member
Posts: 101
Joined: Sat Jun 08, 2013 8:13 pm
Zodiac: Leo

Re: Know the length of copybook?

Post by Angel » Tue Dec 31, 2013 4:43 pm

Robert Sample wrote:the length of the data structure described by the copybook
This is what I'm asking. Using file-aid can we get that?



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1375
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Know the length of copybook?

Post by Robert Sample » Tue Dec 31, 2013 5:38 pm

Yes, File Aid can tell you the length of the data structure. Using interactive (online) File Aid, use the View option to select the copy book and file to view with that copy book; the length of each group (including the copy book) is given on the screen.



User avatar

Topic Author
Angel
Active Member
Posts: 101
Joined: Sat Jun 08, 2013 8:13 pm
Zodiac: Leo

Re: Know the length of copybook?

Post by Angel » Mon Jan 20, 2014 1:37 pm

Thanks Robert. At my mainframe using File-Aid,F, FA, 8 - I could locate the option to see the length of copybook.



Previous topicNext topic

Return to “File-AID and IBM File Manager.”