View previous topic :: View next topic
|
Author |
Message |
kalhor
New User
Joined: 20 May 2007 Posts: 31 Location: iran
|
|
|
|
Hi
I have some cartridge which I don't know what are their dsnames how can I specify it?
regards,
Kalhor |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The information will be in the TMS (Tape Management Software). If you have access you can find out for yourself, if not, ask your storage people, |
|
Back to top |
|
|
kalhor
New User
Joined: 20 May 2007 Posts: 31 Location: iran
|
|
|
|
TMS is not available and storage people don't know about them, so we are going to find a solution for it. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Take a look at THIS thread. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is there any chance these are multi-file volumes?
Finding the first dsname should be fairly easy. If there are an unpredictable number of files, it will be more tedious. . . |
|
Back to top |
|
|
kalhor
New User
Joined: 20 May 2007 Posts: 31 Location: iran
|
|
|
|
NO they are not multi.
Do we have any utility wich read the tape and tell us about it'a lables, dsnames and anything else?
I've tried to read the tape through ICEGENER but it's sysout is contain the first part of dsname and not complete the jcl which is used is as follow and also sysut2 , please check :
Code: |
//TAPEMAP1 JOB MAINX,CLASS=D,MSGCLASS=T
//S98 EXEC PGM=ICEGENER
//SYSPRINT DD SYSOUT=T
//SYSUT1 DD UNIT=CART,VOL=SER=DP0025,LABEL=(4,BLP),
// DISP=OLD,DSORG=PS,RECFM=F,BLKSIZE=80
//SYSUT2 DD SYSOUT=T,BLKSIZE=80
//SYSIN DD DUMMY
|
sysut2
============================================
HDR1.D2008272.T073107DP002500010002 0082720090060000000IBM OS/VS 370
HDR2U000000000000ARCHIVET/BKLOAD P 205B93
============================================ |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Hi, You have done all the hard work and obtained all the information you require. Tape processing only writes the last 17 characters of the DSNAME on the tape. in this case .D2008272.T073107. So in order to read the tape you just need to prefix these 17 chars with a qualifier to which you have read access. The system only checks the validity of these 17 characters, this is the reason that when creating tapes to be sent offsite most older Sysprogs create dsnames of about 25 characters, it means that the people at the other site do no have to bother with RACF when reading the tape. You just specifyDSN=USERID.17CHARS and all is ok. There used to be a manual called "Using Magnetic Tape Labels and File Structure" if you can get a copy of this it describes the processing very well. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
NO they are not multi. |
I believe they are. . . At least the one from your example.
4,blp only works for a multi-file volume. File "4" is the header for the second standard labeled file. Notice there is no volume info shown. If you used 1,blp you would see the volume info followed by the 2 hdr labels.
Suggest you also check at 7,blp unless you have some way to know there are only 2 standard labeled files on the tape(s). If there is a third data file, there many be more. . . At some point, there is the possibility of "reading off the end of the tape". . . |
|
Back to top |
|
|
|