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

jcl to cancel userid's that holds dataset and start job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chetpune007

New User


Joined: 10 Nov 2010
Posts: 1
Location: bangalore

PostPosted: Thu Mar 03, 2011 12:59 pm
Reply with quote

Hi! This is your First post in our Forums! So please be sure to 1) Use meaningful and descriptive Topic Title 2) Try to post your query in the relevant forum category 3) Make sure your query is not already posted and solved in our forums, Use the Search facility and avoid Reposts! If you are following the above rules, delete this message and post your query here!

Hi,

On Mainframe (tool CA7) while the job X is running sometimes we may not be able to access $AVRS, we get a message like $AVRS VSAM KSDS FILE is already in use, then we have to go to Spool and cancel user id which are active, once we cancel them the job takes the backup of $AVRS.

This job X basically RECREATES THE $AVRS VSAM KSDS FILE, (like deleting the last week's backup), RELOADS IT TO ELIMINATE CA/CI SPLITS AND RESTARTS $AVRS.

So most of the time I need to check for contentions and cancel userids and make the job X to run..So,I need a solution for this So that I can create seperate jcl and thereafter no manual intervention is required.

Help Much Appreciated.

Thanks,
Chetan
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 03, 2011 2:54 pm
Reply with quote

Are CI/CA splits such an issue now with the modern DASD arrays
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Mar 03, 2011 2:56 pm
Reply with quote

when the vsam is not defined properly, probably
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 03, 2011 4:08 pm
Reply with quote

SAVRS uses KSDS and RRDS files, so it does some funky things to keep them in sync. However, I don't think we delete / define the SAVRS files more than two or three times a year. I cannot imagine under what circumstances someone would need to do this weekly.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 03, 2011 9:13 pm
Reply with quote

"That's the way it has always been done". . . icon_smile.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top