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

How to retrieve the VSAM file attributes using COBOL?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jacobdng

New User


Joined: 27 Aug 2006
Posts: 51
Location: Taiwan

PostPosted: Fri Mar 09, 2007 9:36 am
Reply with quote

I need to create nearly 100 JCL files in order to DEL DEF VSAM files in a new CICS region duplicated from an old one.

The best way to avoid typo is to retrieve the VSAM file attributes from the existing VSAM files.

How to retrieve the VSAM file attributes using COBOL ?

Jacob
Back to top
View user's profile Send private message
Mainopr

New User


Joined: 05 Feb 2007
Posts: 11
Location: HK

PostPosted: Sun Mar 11, 2007 9:53 pm
Reply with quote

Hi Jacob,

I do not know how to do it with COBOL only.

But I think it is possible to use LISTCAT to collect VSAM file attributes. And your COBOL program can use it as an input to generate those VSAM delete / define parameter.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
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
Search our Forums:

Back to Top