MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

getting all the datasets with disposition as MOD

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Beswar
Beginner


Joined: 04 Feb 2003
Posts: 33
Topics: 15

PostPosted: Fri Dec 03, 2004 2:16 pm    Post subject: getting all the datasets with disposition as MOD Reply with quote

Hi



I would like to get the report that conatains all the dataset names with disposition as MOD(disp= mod). All the jcls are in one PDS

I can write a cobol program to do the task, but if any of us know any better way to get this, please let me know.

Thanks
Eswar
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Fri Dec 03, 2004 2:43 pm    Post subject: Reply with quote

Eswar,

CA-11 is capable of identifying the output and Input datasets from each job. You can write a rexx exec to get the desired results, but a couple of questions. Do you have a standard for the disp parameter in the JCL? I.e does the DISP parameter follow the DSN parameter like as shown below.

ex:
Code:

//DDNAME  DD DSN=SOME FILE NAME,
//           DISP=(MOD,KEEP,KEEP)
//           UNIT=SYSDA,
//           SPACE=(CYL,(X,Y),RLSE)


some other examples are :
Code:

//DDNAME  DD DISP=(MOD,KEEP,KEEP),DSN=SOME FILE NAME,
//           UNIT=SYSDA,
//           SPACE=(CYL,(X,Y),RLSE)


Code:

//DDNAME  DD DISP=(MOD,KEEP,KEEP),
//           UNIT=SYSDA,
//           SPACE=(CYL,(X,Y),RLSE),
//           DSN=SOME FILE NAME


Code:

//DDNAME  DD DSN=SOME FILE NAME,
//           UNIT=SYSDA,
//           SPACE=(CYL,(X,Y),RLSE),
//           DISP=(MOD,KEEP,KEEP)



Quote:

I can write a cobol program to do the task, but if any of us know any better way to get this, please let me know.


I would love to see the COBOL code for accessing the PDS.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Beswar
Beginner


Joined: 04 Feb 2003
Posts: 33
Topics: 15

PostPosted: Fri Dec 03, 2004 2:53 pm    Post subject: Reply with quote

Kolusu

Thanks for your reply.

our shop standar is
//DDNAME DD DSN=SOME FILE NAME,
// DISP=(MOD,KEEP,KEEP)
// UNIT=SYSDA,
// SPACE=(CYL,(X,Y),RLSE)


we do have CA-11 product in our shop. Regarding cobol program i thought of dumping all the PDS memebrs into a sequential file and use logic to get the required report.

another option I am thinking is we have OXREFS product in our shop and this would give the list of the datasets used for each member and thier disposition. then I can sort the output to filter the MOD disposition datasets.

But I don't know how to use CA-11 product to do this task. If you don't mind could you please let me know how to get same result using ca-11 product.

Thank you very much for you help Kolusu

Thanks
Eswar
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group