Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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: 6968
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us