IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Read compiler listing VSAM file


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 6966
Location: porcelain throne

PostPosted: Sun Sep 18, 2011 8:05 pm
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
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: 6966
Location: porcelain throne

PostPosted: Mon Sep 19, 2011 11:17 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top