View previous topic :: View next topic
|
Author |
Message |
nkumar
New User
Joined: 09 Mar 2008 Posts: 28 Location: USA
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
What contains in FUNDMAX ? Did Expand Occurrences => Y helps? |
|
Back to top |
|
|
nkumar
New User
Joined: 09 Mar 2008 Posts: 28 Location: USA
|
|
|
|
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 |
|
|
nkumar
New User
Joined: 09 Mar 2008 Posts: 28 Location: USA
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Thanks for the follow up ,This will help someone with the same issue. |
|
Back to top |
|
|
|