IEBCOPY

I have one member on the PDS called TSSDN.TEST.JCL(UNLOADTP).

My goal is to unload TSSDN.TEST.JCL (partitioned data set) and write it on tape. I would like to use IEBCOPY utility for this purpose.
I have wrote following JCL in UNLOADTP.

********************************* Top of Data *********
//COPYJOB5 JOB 1,TSSDN,MSGCLASS=X
// EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DISP=SHR,DSN=TSSDN.TEST.JCL
//SYSUT2 DD DISP=(NEW,KEEP),UNIT=TAPE,DSN=TSSDN.JCL,
// VOL=SER=SN9043
******************************** Bottom of Data *******

I have submitted the job but does not work.

JOB12287 IEF452I COPYJOB5 - JOB NOT RUN - JCL ERROR

Any help will be appreciated.

thx
Happy New Year

This forum is for questions related to Software AG products only,
as per the forum guidelines you agreed to when you subscribed.

Please direct this question to a more suitable list such as

http://bama.ua.edu/archives/ibm-main.html

I removed "// VOL=SER=SN9043 " and its work.
Do you know why?

//COPYJOB5 JOB 1,TSSDN,MSGCLASS=X
// EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DISP=SHR,DSN=TSSDN.TEST.JCL
//SYSUT2 DD DISP=(NEW,KEEP),UNIT=TAPE,DSN=TSSDN.JCL

thanks

A specific VOL=SER will ask the tape subsystem for that particular tape,
when it isn’t available to you the job will fail.

Omitting VOL=SER will give you a “scratch” tape from a pool.