Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

View Copybook having COPY statement in file Aid

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: View Copybook having COPY statement in file Aid
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: 1712
Location: UK

PostPosted: Mon May 16, 2016 7:52 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Mon May 16, 2016 7:54 pm    Post subject:
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

Senior Member


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

PostPosted: Mon May 16, 2016 8:47 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: View Copybook having COPY statement in file Aid
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

Senior Member


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

PostPosted: Fri Jul 01, 2016 10:29 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 1 Fri Dec 02, 2016 9:47 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us