View previous topic :: View next topic |
Author |
Message |
Hariharan78 Beginner

Joined: 01 Dec 2002 Posts: 28 Topics: 8 Location: India
|
Posted: Tue Apr 22, 2003 2:08 am Post subject: How can i get the informations about a tape thru batch |
|
|
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 |
|
 |
dorkhead Beginner
Joined: 07 Jan 2003 Posts: 25 Topics: 0 Location: Lux
|
Posted: Tue Apr 22, 2003 7:14 am Post subject: |
|
|
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 |
|
 |
Hariharan78 Beginner

Joined: 01 Dec 2002 Posts: 28 Topics: 8 Location: India
|
Posted: Tue Apr 22, 2003 8:21 am Post subject: |
|
|
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 |
|
 |
dorkhead Beginner
Joined: 07 Jan 2003 Posts: 25 Topics: 0 Location: Lux
|
Posted: Wed Apr 23, 2003 3:30 am Post subject: |
|
|
u will need tms utilities. ask ur operation staff aobut TMS utilities. _________________ Dorkhead |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Apr 23, 2003 8:24 am Post subject: |
|
|
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 |
|
 |
|
|