Robert Thank you for your reply. I understand what you say and agree with your statement
What you mentioned above on topics 1 2, and 3, was what I meant on my original post, that's why I named this discussion as "Incomplete VOL=SER statement on JCL", and mentioned that JCL would be incomplete, but appreciate your reminder here. Remembering that the JCL above is just an example of what our user has coded, the point here is how system is able to mount 6 volumes even not having DSN cataloged neither having coded [VOL=SER=(000001,000002,000003,000004,000005,000006)], considering that CA1 has nothing with it during the mount.
Regarding z/OS version, both systems are at same level, z/OS 2.1.
Check this out:
This is a real test case on a test system. DSN= AB969F.TESTE.TAPE
This is the list of volumes it is currently allocated
VOLUME
SERIAL
X09651
X09847
X16553
X23374
X25574
X25736
X25966
1STVOL = X25574
This is the JCL to copy it. Note that only first volume was coded:
//COPYDSN JOB (SM00),'COPY_DATASET',MSGCLASS=M,NOTIFY=MM141K,
// SCHENV=MUSTXD00
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=AB969F.TESTE.TAPE,UNIT=VTSTAPE,
// DISP=(MOD,KEEP),VOL=SER=X25574
//SYSUT2 DD DSN=&&TEMP1,DISP=(,PASS),UNIT=VTSTAPE
Job Output:
TAPE MOUNTED ON 1914,X25574,COPYDSN ,STEP1
TAPE MOUNTED ON 1914,X09651,COPYDSN ,STEP1
TAPE MOUNTED ON 1914,X25736,COPYDSN ,STEP1
TAPE MOUNTED ON 1914,X09847,COPYDSN ,STEP1
TAPE MOUNTED ON 1914,X25966,COPYDSN ,STEP1
TAPE MOUNTED ON 1914,X16553,COPYDSN ,STEP1
TAPE MOUNTED ON 1914,X23374,COPYDSN ,STEP1
IEC205I SYSUT2,COPYDSN,STEP1,FILESEQ=1, COMPLETE VOLUME LIST,
DSN=SYS16133.T140920.RA000.COPYDSN.TEMP1.H03,
VOLS=X16917,X26030,X17303,X26224,X17717,X04776,X18907,
TOTALBLOCKS=1278690
IEF234E K 1914,X23374,PVT,COPYDSN,STEP1
Job mounted all 7 volumes and completed with RC=0000
*This was a test that ran on first system at z/OS 2.1
Now same JCL and same situation in production system at z/OS 2.1:
/MM141KIE JOB (SM00,MM141K,99,99),'LIST', | |
// MSGCLASS=M,NOTIFY=&SYSUID,SCHENV=MUSTBC00
//STEP2 EXEC PGM=IEBGENER,COND=(0,NE) | |
//SYSPRINT DD SYSOUT=* | |
//SYSUT1 DD DISP=SHR,DSN=AB969F.TESTE.TAPE,VOL=SER=2M4531
//SYSUT2 DD DSN=&&TEMP1,DISP=(,PASS),UNIT=VTSTAPE, |
// LABEL=RETPD=1 | |
//SYSIN DD DUMMY |
Job Output:
TAPE MOUNTED ON 1E40,2M4531,MM141KIE,STEP2
TAPE MOUNTED ON 1E40,0O5126,MM141KIE,STEP2
TAPE MOUNTED ON 1E40,2M4771,MM141KIE,STEP2
TAPE MOUNTED ON 1E40,1O8786,MM141KIE,STEP2
TAPE MOUNTED ON 1E40,1O9112,MM141KIE,STEP2
TAPE MOUNTED ON 1E40,2M5379,MM141KIE,STEP2
Then instead of mounting 7th volume following message is issued and it ends up with 637-54
IEC501A M 1E40, 1O,SL,COMP,MM141KIE,STEP2,AB969F.TESTE.TAPE | | |
IEC026I 637-54,IFG0554J,MM141KIE,STEP2,SYSUT1,1E40,, 023 | |
AB969F.TESTE.TAPE | |
For some reason it looks like that volser is not being gotten correctly. By message IEC501A, it requests a mount for volser ' 1O'.
So basically, I want to understand first. Considering we are correct with the fact that we must code all volumes at JCL, or DSN must be cataloged, HOW first test passed with RC=0000 and it did the copy without any issue?
And the other question is, what may be different between both systems ?