IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

View Copybook having COPY statement in file Aid


 
IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nkumar

New User


Joined: 09 Mar 2008
Posts: 28
Location: USA

PostPosted: Mon May 16, 2016 7:28 pm
Reply with quote

Hello All!

I am trying to view (option 8) a copybook (say FUNDCPY) in File Aid. This copybook has a copy statement to include another copybook (FUNDMAX) in it.

Because of this 'Copy' statement, file aid is giving an error. I can successfully view the copybook FUNDCPY when I replace the content of copybook FUNDMAX.

Is there a way by which file aid can pick the content of FUNDMAX on its own. Both the copybooks reside in same PDS - FNNDVRN.CPYLIB.

Code:
VIEW       FNNDVRN.CPYLIB(FUNDCPY) - 01.00    Columns 00
Command ===>                                                          Scroll
000338                10  FUND-LEVEL-INFORMATION   OCCURS                   
000339                                             COPY FUNDMAX.         
000340                                             TIMES.                   
000341 011500             15  FUND-NUMBER                 PIC S9(08) COMP-3.
000342                    15  FUND-TYPE                   PIC X(01).         
000343 011600             15  PARTICIPATION-TYPE          PIC X.             


Error :-

Code:
 File-AID ------------------- SOURCE STATEMENT SELECTI      ERROR NEAR LINE 159
 COMMAND ===>   
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2431
Location: Hampshire, UK

PostPosted: Mon May 16, 2016 7:52 pm
Reply with quote

What makes you think it is that COPY statement that is giving the error? The message says the error is near line 159. line 339 is nowhere near line 159.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8566
Location: Dubuque, Iowa, USA

PostPosted: Mon May 16, 2016 7:54 pm
Reply with quote

Have you contacted the vendor for assistance? If not, why not? They are the experts on the product and certainly can answer your question quickly. Your question probably has been answered in the vendor documentation online already - did you search it?

A Google search on file aid nested copybook indicates that nested copybooks are NOT supported by File Aid. You should contact the vendor, however, to confirm this as the online sources are not very current and could be out-of-date.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2503
Location: NY,USA

PostPosted: Mon May 16, 2016 8:47 pm
Reply with quote

What contains in FUNDMAX ? Did Expand Occurrences => Y helps?
Back to top
View user's profile Send private message
nkumar

New User


Joined: 09 Mar 2008
Posts: 28
Location: USA

PostPosted: Mon May 16, 2016 10:29 pm
Reply with quote

Thanks all for the response...
Quote:
What contains in FUNDMAX ? Did Expand Occurrences => Y helps?


Yes, it contains occurrences.

Quote:
Have you contacted the vendor for assistance? If not, why not? They are the experts on the product and certainly can answer your question quickly. Your question probably has been answered in the vendor documentation online already - did you search it?


Thanks for your suggestion to contact vendor...I have sent my query to file-aid support group...will post here once i hear back from them.

Quote:
What makes you think it is that COPY statement that is giving the error? The message says the error is near line 159. line 339 is nowhere near line 159.


I did not post the complete copybook here...there are several comment lines in this copybook...when i remove the commented line this copy statement is at 158th line...
Back to top
View user's profile Send private message
nkumar

New User


Joined: 09 Mar 2008
Posts: 28
Location: USA

PostPosted: Fri Jul 01, 2016 9:57 pm
Reply with quote

Here is the response which I got from Compuware -

Dear Mr. xxx,

Customer Support has updated your Case #01014321: "FA931 viewing a copybook with embedded (nested) copybook in file-aid (option 8)." with a new comment.

Hello xxx, this is a known issue and we have an open enhancement request. We don’t handle COPY in the middle of a COBOL statement. We expect a COPY to retrieve complete COBOL statements, not partial statements. I have added you to enhancement request CWE-80413.

If you are a registered Compuware FrontLine Service Center User, you can view and update this Case by clicking here.

The Compuware FrontLine Service Center provides enhanced self-service capabilities and resources to our customers. To register as a FrontLine Service Center User, click here.

Thank you for selecting Compuware as your IT provider.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2503
Location: NY,USA

PostPosted: Fri Jul 01, 2016 10:29 pm
Reply with quote

Thanks for the follow up ,This will help someone with the same issue.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
This topic is locked: you cannot edit posts or make replies. Splice JCL into one record for DD sta... SYNCSORT 2
No new posts How to find which file contains my se... DFSORT/ICETOOL 6
No new posts IGZ0035S THERE WAS AN UNSUCCESSFUL OP... COBOL Programming 3
No new posts Hex Value - vb file replace old date ... DFSORT/ICETOOL 14

Back to Top