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

Tape drives - Long wait


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

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Feb 22, 2011 5:28 pm
Reply with quote

Hi,
Our system jobs rely on tape datasets for input or output.
Sometimes our jobs go on a long wait & waits for the tape to be mounted.

There was once a situation in which our jobs were in long wait for 2 or 3 hours. When I contacted the operations, they informed that there was a rogue job run by a user(neighbouring team) which occupied all the tape drives and still executing and this caused the long wait in all other jobs using tapes.

Could you please let me know how to determine the number of tape drives available and how find out if a job is using more tape drives?
I asked the ops guys at my place and they say that they find it using console. But I dont have access to console icon_sad.gif

Is there any command or facility to view this something like TSO ISRDDN E for viewing contentions.

We have CA-1 TMS at our shop.

Thanks,
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: Tue Feb 22, 2011 10:18 pm
Reply with quote

Hi Vasanthz,

I believe this is more a mangement problem than a technical issue.

If there are no "rules" in place on the system as to how many tapes drives a job may allocate, i believe you are stuck.

If there are rules and the "rogue job" violates the rules, it can (and probably should) be canceled.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Feb 24, 2011 5:58 pm
Reply with quote

Hi D,
Thanks for your view, I agree that there has to be a rule for the max number of tape drives a user could use.

We have Omegamon and it had a screen for monitoring tape utilization.

omegamon -> tape -> option 1(details)

Code:
+----------------------------------------------------------------------------+
¦  DevNo ¦ Volume ¦   User   ¦      Status         ¦  I/O's  ¦Prm Err¦Tmp Err¦
¦--------+--------+----------+---------------------+---------+-------+-------¦
¦   ABCD ¦ NONE   ¦          ¦ FREE                ¦ 131,914 ¦       ¦       ¦
¦   B019 ¦ NONE   ¦          ¦ FREE                ¦ 581,688 ¦       ¦       ¦
¦   BCDE ¦ NONE   ¦          ¦ FREE                ¦ 637,047 ¦       ¦       ¦
¦   BDFE ¦ NONE   ¦          ¦ FREE                ¦ 667,981 ¦       ¦       ¦
¦   BK34 ¦ A12345 ¦ XXXXXXXX ¦ ALLOC               ¦ 196,873 ¦       ¦       ¦
¦   SD34 ¦        ¦ YYYYYYYY ¦ ALLOC               ¦ 018,059 ¦       ¦       ¦
¦   ERTF ¦ A33456 ¦ ZZZZZZZZ ¦ ALLOC               ¦ 716,751 ¦       ¦       ¦


Regards,
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Feb 24, 2011 6:02 pm
Reply with quote

So now you are going to look at the screen, and refresh it every 2 seconds to see if there are free devices, and then submit your job?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Feb 24, 2011 6:12 pm
Reply with quote

No, the production jobs would run as scheduled, its diagnostic tool if there are jobs waiting for a long time for tape mount.

Also have to talk to tape operations if they could restrict the number of drives used by a user. Its upto them.

Regards,
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 01, 2011 9:38 pm
Reply with quote

Vasanth - Possibly you can experiment with 1. UNIT=AFF=ddname and/or 2. "ping pong" tape drives.

To "ping pong" tape drives for concatenated input file(s) on 'n' physical drives, just specify UNIT=(TAPE,n) on the first DD statement.

eg. by using UNIT=(TAPE,2)

If the dataset is a multi-volume one, it will mount the first volume to 1 tape drive and the second volume to another tape drive, so when the job has finished with the first volume, it will immediately start processing the second volume and rewind the first volume and then mount the third volume whilst the second volume is being processed and so on. You can also use this for your output DD.
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: Tue Mar 01, 2011 10:20 pm
Reply with quote

Hello,

Unfortunately, neither will help if there are zero drives available to allocate (which is what i understood to be the problem).
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 Deleting a Tape file JCL & VSAM 14
No new posts Wait for job rc CLIST & REXX 10
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
No new posts ADR324E-VOL/DATASET SPECIFIED BY DDNA... JCL & VSAM 6
Search our Forums:

Back to Top