'Matthew R. Wilson' mwilson@mattwilson.org [H390-MVS]
2018-08-30 03:26:49 UTC
Howdy,
Probably a really basic question, but I'm trying to figure out MVS
basics from scratch. I've played around with TK4-, but am now trying
to understand a bit more of the 'under the hood' mechanics, so I've
followed Jay Moseley's great tutorial for installing MVS and now have
a basic system up and running.
Next I'd like to install recv370 to be able to deal with XMIT
packages. I've successfully installed IND$FILE so I can get the XMIT
files up to my system, but once there I need recv370 to receive them.
I've downloaded the tape it's supposed to be on from
http://cbttape.org/~jmorrison/mvs38j/index.html, but I'm stuck as to
what I'm supposed to do with that.
From searching, it sounds like that tape has datasets copied to it
with IEBCOPY. Using hetmap to try to determine something about the
contents of the tape, I see:
---
$ hetmap xv0005-beta02.het
Hercules HET and AWS tape map program Version 3.13
(c)Copyright 1999-2015 by Roger Bowler, Jan Jaeger, and others
---------------------
Filename : xv0005-beta02.het
---------------------
Label : 'VOL1'
Volume Serial : 'XV0005'
Improved Data Rec. : ' '
Owner Code : 'N9GTM '
---------------------
Label : 'HDR1'
Dataset ID : '.V0005.BETA02.CBT'
Volume Serial : 'XV0005'
....
---
I was hoping that "dataset ID" would be a clue as to the dataset on the tape.
I put together the following JCL, but I know it's missing something
and IEBCOPY abends with S813, which a google search says that means
the data set name in the JCL wasn't on the tape.
Here's the JCL I've cobbled together:
//TPLOAD02 JOB (SYS),'LOAD TAPE',CLASS=S,MSGCLASS=A
//STEP1 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=V0005.BETA02.CBT,DISP=(OLD,KEEP),
// UNIT=TAPE,VOL=SER=XV0005,LABEL=1
//SYSUT2 DD DSN=MWILSON.FOO,DISP=(,CATLG),
// VOL=SER=PUB001,UNIT=SYSDA,SPACE=(CYL,(2,0,20),RLSE)
//SYSIN DD DUMMY
//
So... a couple of questions:
1. Am I on the right track in identifying the abend code as indicating
my DSN is wrong? If so, how do I know what DSN to use from a tape that
I know nothing about other? Overall, is my SYSUT1 DD to point to the
tape anywhere close to being correct?
2. Even if I correctly define SYSUT1, I feel like my SYSUT2 DD for the
output is missing the DCB section...again, without knowing anything
about the source tape, how do I know how to set up my target dataset?
Thank you,
Matthew
Probably a really basic question, but I'm trying to figure out MVS
basics from scratch. I've played around with TK4-, but am now trying
to understand a bit more of the 'under the hood' mechanics, so I've
followed Jay Moseley's great tutorial for installing MVS and now have
a basic system up and running.
Next I'd like to install recv370 to be able to deal with XMIT
packages. I've successfully installed IND$FILE so I can get the XMIT
files up to my system, but once there I need recv370 to receive them.
I've downloaded the tape it's supposed to be on from
http://cbttape.org/~jmorrison/mvs38j/index.html, but I'm stuck as to
what I'm supposed to do with that.
From searching, it sounds like that tape has datasets copied to it
with IEBCOPY. Using hetmap to try to determine something about the
contents of the tape, I see:
---
$ hetmap xv0005-beta02.het
Hercules HET and AWS tape map program Version 3.13
(c)Copyright 1999-2015 by Roger Bowler, Jan Jaeger, and others
---------------------
Filename : xv0005-beta02.het
---------------------
Label : 'VOL1'
Volume Serial : 'XV0005'
Improved Data Rec. : ' '
Owner Code : 'N9GTM '
---------------------
Label : 'HDR1'
Dataset ID : '.V0005.BETA02.CBT'
Volume Serial : 'XV0005'
....
---
I was hoping that "dataset ID" would be a clue as to the dataset on the tape.
I put together the following JCL, but I know it's missing something
and IEBCOPY abends with S813, which a google search says that means
the data set name in the JCL wasn't on the tape.
Here's the JCL I've cobbled together:
//TPLOAD02 JOB (SYS),'LOAD TAPE',CLASS=S,MSGCLASS=A
//STEP1 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=V0005.BETA02.CBT,DISP=(OLD,KEEP),
// UNIT=TAPE,VOL=SER=XV0005,LABEL=1
//SYSUT2 DD DSN=MWILSON.FOO,DISP=(,CATLG),
// VOL=SER=PUB001,UNIT=SYSDA,SPACE=(CYL,(2,0,20),RLSE)
//SYSIN DD DUMMY
//
So... a couple of questions:
1. Am I on the right track in identifying the abend code as indicating
my DSN is wrong? If so, how do I know what DSN to use from a tape that
I know nothing about other? Overall, is my SYSUT1 DD to point to the
tape anywhere close to being correct?
2. Even if I correctly define SYSUT1, I feel like my SYSUT2 DD for the
output is missing the DCB section...again, without knowing anything
about the source tape, how do I know how to set up my target dataset?
Thank you,
Matthew