Wondering if anyone has any JCL/Linux scripts that successful writes to emulated tape.
I sort of think I'm doing everything OK, but get a tape positioning error on the console. My JCL is posted above and I also tried changing the unit to 580, since I saw that in an example.
The steps I'm following.....
1. mount an emulated tape from the Linux host "awsmount 580 -m /ibm/z1090/tapes/T00000"
2. vary on from the console. Not sure if I need to do this or not since this tape file is already defined in my device map at startup. Not sure I even needed my step 1.
3. execute my job which is just an IEBCOPY from dataset to tape. I get this message first: "15.28.13 JOB03381 *IEF233A M 0580,T00000,,BACKUP02,BKUPDS,IBMUSER.BU.BU01". Then I vary on the device again because it won't go anywhere if I don't. I then get this message "15.29.39 JOB03381 *IOS003A 0580,INTERVENTION REQUIRED, READY THE DRIVE". At this point I though I had the drive ready. But anyway, I did a awsmount -u and then remounted the tape. Then I receive some a series of messages:
15.32.07 JOB03381 IOS000I 0580,EF,EOD,02,0E00,,**,,BACKUP02
80400036020001200008(0000000000000000)0000(00000000)0008000000000000
15.32.07 JOB03381 IOS000I 0580,EF,EOD,02,0E40,,**,T00000,BACKUP02
80400036020001200008(0000000000000000)0000(00000000)0008000000000000
15.32.07 JOB03381 IEC147I 613-08,IFG0195B,BACKUP02,BKUPDS,RECEIVE0,0580,
T00000,
IBMUSER.BU.BU01
15.32.07 JOB03381 IOS000I 0580,EF,EOD,02,0E00,,**,,BACKUP02
80400036020001200008(0000000000000000)0000(00000000)0008000000000000
15.32.07 JOB03381 IOS000I 0580,EF,EOD,02,0E40,,**,T00000,BACKUP02
80400036020001200008(0000000000000000)0000(00000000)0008000000000000
15.32.07 JOB03381 IEC147I 613-08,IFG0195B,BACKUP02,BKUPDS,RECEIVE0,0580,
T00000,
IBMUSER.BU.BU01
15.32.07 JOB03381 *04 IEC613A BACKUP02,BKUPDS ,0580,T00000 TAPE POSITION
ERROR - REPLY 'R' RETRY OR 'U' CONTINUE WITH ABEND
My only choice is the ABEND the job because an R just resends the messages.
Any guidance would be appreciated.
Thanks.
jmal