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 

How can i get the informations about a tape thru batch

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


Joined: 01 Dec 2002
Posts: 28
Topics: 8
Location: India

PostPosted: Tue Apr 22, 2003 2:08 am    Post subject: How can i get the informations about a tape thru batch Reply with quote

I am having a tape file. I just need to get its VOLSER, Date of creation, Last accessed date, Job which accessed it last, Job which created the tape etc.

I have the "CA-1 Tape Management System (TMS)" from which i can get the info. What i need is that i should get these informations inside a COBOL program. Is there any utility/subroutines which i can call inside a COBOL program to get it or is there any utility which i can use directly in a JCL to get these information.
_________________
S.Hariharan
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
dorkhead
Beginner


Joined: 07 Jan 2003
Posts: 25
Topics: 0
Location: Lux

PostPosted: Tue Apr 22, 2003 7:14 am    Post subject: Reply with quote

what you could do is get the info u need from TMS in a file (thru batch) then
have the cobol pgm read this file.
_________________
Dorkhead
Back to top
View user's profile Send private message Visit poster's website
Hariharan78
Beginner


Joined: 01 Dec 2002
Posts: 28
Topics: 8
Location: India

PostPosted: Tue Apr 22, 2003 8:21 am    Post subject: Reply with quote

OK. I accept. I will get the info thru batch and read that inside a COBOL program. What is the utility i need to use to get the info?
_________________
S.Hariharan
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
dorkhead
Beginner


Joined: 07 Jan 2003
Posts: 25
Topics: 0
Location: Lux

PostPosted: Wed Apr 23, 2003 3:30 am    Post subject: Reply with quote

u will need tms utilities. ask ur operation staff aobut TMS utilities.
_________________
Dorkhead
Back to top
View user's profile Send private message Visit poster's website
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Apr 23, 2003 8:24 am    Post subject: Reply with quote

Use a JCL step like this:

//INQ EXEC PGM=TMSBINQ
//TMSRPT DD SYSOUT=*
//SYSIN DD *
VOL 000000

Put your volser in place of the zeros

Regards,
Bill
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