Hi,
Is there any way in file-aid to know the length of the copybook? Any help is appreciated.
Know the length of copybook?
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Know the length of copybook?
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.
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.
Re: Know the length of copybook?
This is what I'm asking. Using file-aid can we get that?Robert Sample wrote:the length of the data structure described by the copybook
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Know the length of copybook?
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.
Re: Know the length of copybook?
Thanks Robert. At my mainframe using File-Aid,F, FA, 8 - I could locate the option to see the length of copybook.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute