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
 

 

Read compiler listing VSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Sun Sep 18, 2011 6:36 pm    Post subject: Read compiler listing VSAM file
Reply with quote

Hi,
To read the cobol compile listing information, I used to go to listing VSAM file thru Endevor and read it. But using this I can read only one module listing at a time....Is there any of automating to get all the listing in a PDS? Using Rexx

Is there any utility provided by Endevor to read listing VSAM file through REXX?
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Sun Sep 18, 2011 8:05 pm    Post subject:
Reply with quote

not sure if CA provides a REXX API,
but you could invoke a process whereby you could generate from the listing a printfile, which you could direct to a PDS.

but why would you want to create this PDS?
from a space standpoint, would be wasteful.

if you really want a pds for listings (again see no need)
you could have your site support modify the endevor GENERATE jcl
to feed this pds and then it would always be up-to-date.
Back to top
View user's profile Send private message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Mon Sep 19, 2011 9:13 am    Post subject:
Reply with quote

Hi Dick,
Thanks, I hear your point on space constraint.

I'm trying to get the source of the variable by getting the variable as input. By getting the variable as input find from where it is getting populated and generate the report for all the input variables.

In compiler listing we would have numbers assigned to all the variables and the line number where it is getting populated. So thought it would be easy if i could read the listing VSAM backend thru REXX by calling any utility or submitting thru JCL, then generate the report I needed through REXX by reading it.

I used to see this listing in ENDEVOR foreground currently. If not Endevor providing is there any other utility to read the compiler listing VSAM file?

Thanks in advance
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Mon Sep 19, 2011 11:17 am    Post subject:
Reply with quote

when you go into the ddio file utilities
at my site, it is option 5.5 from TSO debugging option(main option 3)
you can print a module from the ddio file.
i would trap that jcl and use it as a model/skeleton to print all members of the ddio fle.

but better is the modification of GENERATE JCL to output the compiler listing to your pds.

and I reiterate, do not fool yourself calling the CA listings (or ddio) file a VSAM file.
it is proprietary in structure and you need a CA routine to decode.

as far as your report,
just reporting on the source field for a destination field may not be enough.
you probably will have to work backwards (thru intermediate fields/DB or VSAM columns/field)
to generate a truely useful report.

you maybe better off just generating a report which can cross-reference modules that populate db2 columns/vsam fields.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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