Discussion:
AWS tape restore JCL
Macka
2004-12-02 01:52:56 UTC
Permalink
Hi All,

I have been trying to restore a DFDSS dump dataset on my Hercules system.
1. I created the dump on my works zOS 1.4 mainframe.
//OUTPUTDS DD DSN=Uxxxxxx.DFDSS.BACKUP,DISP=(NEW,CATLG),
// UNIT=CART,VOL=(,,,20),LABEL=(1,SL,RETPD=1),
// DCB=(RECFM=U,BLKSIZE=32760)
2. Ran the AWSTAPE tapeconv job and got a RC=00
3. Binary downloaded the AWS disk file to my computer via TCPIP FTP.
4. Mounted the AWS file in the Hercules.cnf
360 3480 /cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/awstape.bin
5. IPL my hercules system
HHCTA998I Device 0360 : /cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/awstape.bin is a AWS Format tape file
HHCTA100I 0360: Now Displays : READY
Mounted tape *
6. I submit my restore JCL on my hercules guest system
//RESTORE EXEC PGM=ADRDSSU,PARM='TYPRUN=NORUN'
//SYSPRINT DD SYSOUT=*
//CART DD DISP=SHR,DSN=Uxxxxxx.AWSTAPE.DATASET,
// UNIT=360,VOL=SER=VC3980
//DASD DD DISP=SHR,UNIT=3390,VOL=SER=xxxxxx
//SYSIN DD *
RESTORE INDD(CART) -
DATASET(INCL(** -
)) -
OUTDD(DASD)

At this point Herc unloads the tape file with the following:
HHCTA996I 0360 - AWS Tape /cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_her
cules/zos14a/awstape.bin closed
HHCTA077I Tape 0360 unloaded
HHCTA100I 0360: Now Displays :
HHCTA099I 0360:Tape Presence - (D )
HHCTA100I 0360: Now Displays :
HHCTA099I 0360:Tape unmount/mount Request - (D -> MVC3980S)
HHCTA100I 0360: Now Displays : MVC3980S
AUTOMOUNT : tape Volume VC3980 requested

Now I have tried using the original tape volser from the data I created on the host and I have also tried using the volser for the DASD volume the AWS file was created on.
What vol=ser should I be using here please as it would seem a simple process but it is proving to be most tricky.

oh and on the SYSLOG I get the following messages:
JOB00023 $HASP373 PCUSER1D STARTED - INIT A - CLASS A - SYS JES2
JOB00023 IEF503I UNIT 0360 INCORRECT VOLUME LABEL
JOB00023 IEF234E D 0360
JOB00023 *IEF233A M 0360,VC3980,,PCUSER1D,RESTORE


Regards and thanks, Macka.

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/W4wwlB/TM
--------------------------------------------------------------------~->
au1john
2004-12-02 09:29:20 UTC
Permalink
Hi Macka,

I just had a look at the code that is in the distributed
TAPECONV.JCL. The output file from that is a an AWSTAPE image that has
only one file. - i.e a 1 file AWS tape image that does not have
standard labels.
Suggest that you use LABEL=(1,NL) on the //CART DD statment in your
restore JCL for the restore.
The SAF in use may need to be coerced into allowing the use of NL
tapes, though this SHOULD be easier than the use of BLP..

Cheers,
John
Post by Macka
Hi All,
I have been trying to restore a DFDSS dump dataset on my Hercules system.
1. I created the dump on my works zOS 1.4 mainframe.
//OUTPUTDS DD DSN=Uxxxxxx.DFDSS.BACKUP,DISP=(NEW,CATLG),
// UNIT=CART,VOL=(,,,20),LABEL=(1,SL,RETPD=1),
// DCB=(RECFM=U,BLKSIZE=32760)
2. Ran the AWSTAPE tapeconv job and got a RC=00
3. Binary downloaded the AWS disk file to my computer via TCPIP FTP.
4. Mounted the AWS file in the Hercules.cnf
360 3480
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/awstape.bin
Post by Macka
5. IPL my hercules system
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/awstape.bin
is a AWS Format tape file
Post by Macka
HHCTA100I 0360: Now Displays : READY
Mounted tape *
6. I submit my restore JCL on my hercules guest system
//RESTORE EXEC PGM=ADRDSSU,PARM='TYPRUN=NORUN'
//SYSPRINT DD SYSOUT=*
//CART DD DISP=SHR,DSN=Uxxxxxx.AWSTAPE.DATASET,
// UNIT=360,VOL=SER=VC3980
//DASD DD DISP=SHR,UNIT=3390,VOL=SER=xxxxxx
//SYSIN DD *
RESTORE INDD(CART) -
DATASET(INCL(** -
)) -
OUTDD(DASD)
HHCTA996I 0360 - AWS Tape
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_her
Post by Macka
cules/zos14a/awstape.bin closed
HHCTA077I Tape 0360 unloaded
HHCTA099I 0360:Tape Presence - (D )
HHCTA099I 0360:Tape unmount/mount Request - (D -> MVC3980S)
HHCTA100I 0360: Now Displays : MVC3980S
AUTOMOUNT : tape Volume VC3980 requested
Now I have tried using the original tape volser from the data I
created on the host and I have also tried using the volser for the
DASD volume the AWS file was created on.
Post by Macka
What vol=ser should I be using here please as it would seem a simple
process but it is proving to be most tricky.
Post by Macka
JOB00023 $HASP373 PCUSER1D STARTED - INIT A - CLASS A - SYS JES2
JOB00023 IEF503I UNIT 0360 INCORRECT VOLUME LABEL
JOB00023 IEF234E D 0360
JOB00023 *IEF233A M 0360,VC3980,,PCUSER1D,RESTORE
Regards and thanks, Macka.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/W4wwlB/TM
--------------------------------------------------------------------~->
Macka
2004-12-02 23:49:05 UTC
Permalink
Hi John,

First thanks for your response as you are the only person who has
taken their time to reply to what I would have thought to be a
reasonably simple problem.

I have tried:
//CART DD DISP=SHR,DSN=AWSTAPE.BIN,
// UNIT=360,LABEL=(1,NL)
which solves the problem of the volser dismount but then I get a:
IEF212I PCUSER1D RESTORE CART - DATA SET NOT FOUND
Obviously I have tried several combination of dsn but again same
problem. Interestingly as DSN is optional I tried:
//CART DD DISP=SHR,UNIT=360,LABEL=(1,NL)
and again got the
IEF212I PCUSER1D RESTORE CART - DATA SET NOT FOUND

If I run a hetmap for the file:
$ hetmap awstape.bin
Hercules HET map program Version 3.01
(c)Copyright 1999-2003 by Roger Bowler, Jan Jaeger, and others
---------------------
Filename : awstape.bin
---------------------
File # : 1
Blocks : 534
Min Blocksize : 22
Max Blocksize : 32760
Uncompressed bytes : 11037120
Min Blocksize-Comp : 22
Max Blocksize-Comp : 32760
Compressed bytes : 11037120
---------------------
Summary :
Files : 1
Blocks : 534
Uncompressed bytes : 11037120
Compressed bytes : 11037120
Reduction : 0

I have gone back to using IND$FILE but I'm not one to just give up
and would like to get an answer here as I'm sure there is one.

Regards and thanks, Macka.
Post by au1john
Hi Macka,
I just had a look at the code that is in the distributed
TAPECONV.JCL. The output file from that is a an AWSTAPE image that has
only one file. - i.e a 1 file AWS tape image that does not have
standard labels.
Suggest that you use LABEL=(1,NL) on the //CART DD statment in your
restore JCL for the restore.
The SAF in use may need to be coerced into allowing the use of NL
tapes, though this SHOULD be easier than the use of BLP..
Cheers,
John
Post by Macka
Hi All,
I have been trying to restore a DFDSS dump dataset on my Hercules
system.
Post by Macka
1. I created the dump on my works zOS 1.4 mainframe.
//OUTPUTDS DD DSN=Uxxxxxx.DFDSS.BACKUP,DISP=(NEW,CATLG),
// UNIT=CART,VOL=(,,,20),LABEL=(1,SL,RETPD=1),
// DCB=(RECFM=U,BLKSIZE=32760)
2. Ran the AWSTAPE tapeconv job and got a RC=00
3. Binary downloaded the AWS disk file to my computer via TCPIP FTP.
4. Mounted the AWS file in the Hercules.cnf
360 3480
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/
awstape.bin
Post by au1john
Post by Macka
5. IPL my hercules system
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/
awstape.bin
Post by au1john
is a AWS Format tape file
Post by Macka
HHCTA100I 0360: Now Displays : READY
Mounted tape *
6. I submit my restore JCL on my hercules guest system
//RESTORE EXEC PGM=ADRDSSU,PARM='TYPRUN=NORUN'
//SYSPRINT DD SYSOUT=*
//CART DD DISP=SHR,DSN=Uxxxxxx.AWSTAPE.DATASET,
// UNIT=360,VOL=SER=VC3980
//DASD DD DISP=SHR,UNIT=3390,VOL=SER=xxxxxx
//SYSIN DD *
RESTORE INDD(CART) -
DATASET(INCL(** -
)) -
OUTDD(DASD)
HHCTA996I 0360 - AWS Tape
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_her
Post by Macka
cules/zos14a/awstape.bin closed
HHCTA077I Tape 0360 unloaded
HHCTA099I 0360:Tape Presence - (D )
HHCTA099I 0360:Tape unmount/mount Request - (D ->
MVC3980S)
Post by au1john
Post by Macka
HHCTA100I 0360: Now Displays : MVC3980S
AUTOMOUNT : tape Volume VC3980 requested
Now I have tried using the original tape volser from the data I
created on the host and I have also tried using the volser for the
DASD volume the AWS file was created on.
Post by Macka
What vol=ser should I be using here please as it would seem a simple
process but it is proving to be most tricky.
Post by Macka
JOB00023 $HASP373 PCUSER1D STARTED - INIT A - CLASS A - SYS JES2
JOB00023 IEF503I UNIT 0360 INCORRECT VOLUME
LABEL
Post by au1john
Post by Macka
JOB00023 IEF234E D
0360
Post by au1john
Post by Macka
JOB00023 *IEF233A M 0360,VC3980,,PCUSER1D,RESTORE
Regards and thanks, Macka.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/W4wwlB/TM
--------------------------------------------------------------------~->
somitcw
2004-12-03 05:27:40 UTC
Permalink
First, you should avoid all physical tape.
Program CCKDDUMP was designed to do what you
want. If you still have a strong desire to
use tape, use virtual tape with a program like:
http://groups.yahoo.com/group/H390-MVS/files/AWSADR
Extreme warning. I wrote it and I don't even
like any tape format.

The next problem is you are trying to get
Hercules to read an AWS format tape as an AWS
format tape. Hercules cannot handle normal
AWS chunked tapes as AWS tapes. Rename the
file to awstape.het and Hercules .het read
can handle any AWS format tape. Don't ask.
Post by Macka
//CART DD DISP=SHR,DSN=AWSTAPE.BIN,
// UNIT=360,LABEL=(1,NL)
You must specify a VOL=SER=ANY or have
AWSTAPE.BIN cataloged.

//CART DD DISP=SHR,DSN=ANY.DATA.SET.NAME,
// UNIT=360,LABEL=(,NL),VOL=SER=ABCDEF
Post by Macka
Hi John,
First thanks for your response as you are
the only person who has taken their time to
reply to what I would have thought to be a
reasonably simple problem.
//CART DD DISP=SHR,DSN=AWSTAPE.BIN,
// UNIT=360,LABEL=(1,NL)
IEF212I PCUSER1D RESTORE CART - DATA SET NOT FOUND
Obviously I have tried several combination of dsn but again same
//CART DD DISP=SHR,UNIT=360,LABEL=(1,NL)
and again got the
IEF212I PCUSER1D RESTORE CART - DATA SET NOT FOUND
$ hetmap awstape.bin
Hercules HET map program Version 3.01
(c)Copyright 1999-2003 by Roger Bowler, Jan Jaeger, and others
---------------------
Filename : awstape.bin
---------------------
File # : 1
Blocks : 534
Min Blocksize : 22
Max Blocksize : 32760
Uncompressed bytes : 11037120
Min Blocksize-Comp : 22
Max Blocksize-Comp : 32760
Compressed bytes : 11037120
---------------------
Files : 1
Blocks : 534
Uncompressed bytes : 11037120
Compressed bytes : 11037120
Reduction : 0
I have gone back to using IND$FILE but I'm not one to just give up
and would like to get an answer here as I'm sure there is one.
Regards and thanks, Macka.
Post by au1john
Hi Macka,
I just had a look at the code that is in the distributed
TAPECONV.JCL. The output file from that is a an AWSTAPE image that has
only one file. - i.e a 1 file AWS tape image that does not have
standard labels.
Suggest that you use LABEL=(1,NL) on the //CART DD statment in your
restore JCL for the restore.
The SAF in use may need to be coerced into allowing the use of NL
tapes, though this SHOULD be easier than the use of BLP..
Cheers,
John
Post by Macka
Hi All,
I have been trying to restore a DFDSS dump dataset on my
Hercules
Post by Macka
Post by au1john
system.
Post by Macka
1. I created the dump on my works zOS 1.4 mainframe.
//OUTPUTDS DD DSN=Uxxxxxx.DFDSS.BACKUP,DISP=(NEW,CATLG),
// UNIT=CART,VOL=(,,,20),LABEL=(1,SL,RETPD=1),
// DCB=(RECFM=U,BLKSIZE=32760)
2. Ran the AWSTAPE tapeconv job and got a RC=00
3. Binary downloaded the AWS disk file to my computer via
TCPIP
Post by Macka
FTP.
Post by au1john
Post by Macka
4. Mounted the AWS file in the Hercules.cnf
360 3480
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/
awstape.bin
Post by au1john
Post by Macka
5. IPL my hercules system
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_hercules/zos14a/
awstape.bin
Post by au1john
is a AWS Format tape file
Post by Macka
HHCTA100I 0360: Now Displays : READY
Mounted tape *
6. I submit my restore JCL on my hercules guest system
//RESTORE EXEC PGM=ADRDSSU,PARM='TYPRUN=NORUN'
//SYSPRINT DD SYSOUT=*
//CART DD DISP=SHR,DSN=Uxxxxxx.AWSTAPE.DATASET,
// UNIT=360,VOL=SER=VC3980
//DASD DD DISP=SHR,UNIT=3390,VOL=SER=xxxxxx
//SYSIN DD *
RESTORE INDD(CART) -
DATASET(INCL(** -
)) -
OUTDD(DASD)
HHCTA996I 0360 - AWS Tape
/cygdrive/c/DOCUME~1/ADMINI~1/MYDOCU~1/MYVIRT~1/pc_her
Post by Macka
cules/zos14a/awstape.bin closed
HHCTA077I Tape 0360 unloaded
HHCTA099I 0360:Tape Presence - (D )
HHCTA099I 0360:Tape unmount/mount Request - (D ->
MVC3980S)
Post by au1john
Post by Macka
HHCTA100I 0360: Now Displays : MVC3980S
AUTOMOUNT : tape Volume VC3980 requested
Now I have tried using the original tape volser from the data I
created on the host and I have also tried using the volser for the
DASD volume the AWS file was created on.
Post by Macka
What vol=ser should I be using here please as it would seem a
simple
Post by au1john
process but it is proving to be most tricky.
Post by Macka
JOB00023 $HASP373 PCUSER1D STARTED - INIT A - CLASS A -
SYS
Post by Macka
JES2
Post by au1john
Post by Macka
JOB00023 IEF503I UNIT 0360 INCORRECT VOLUME
LABEL
Post by au1john
Post by Macka
JOB00023 IEF234E D
0360
Post by au1john
Post by Macka
JOB00023 *IEF233A M 0360,VC3980,,PCUSER1D,RESTORE
Regards and thanks, Macka.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/W4wwlB/TM
--------------------------------------------------------------------~->
Loading...