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
 
jcl to cancel userid's that holds dataset and start job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: jcl to cancel userid's that holds dataset and start job
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 03, 2011 2:54 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Thu Mar 03, 2011 2:56 pm    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 03, 2011 4:08 pm    Post subject:
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

Site Director


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

PostPosted: Thu Mar 03, 2011 9:13 pm    Post subject: Reply to: jcl to cancel userid's that holds dataset and star
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

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