View previous topic :: View next topic
|
Author |
Message |
mkssampathkumar Warnings : 1 New User
Joined: 31 Aug 2006 Posts: 57 Location: chennai
|
|
|
|
Hi
I tried to copy the dataset using IEBCOMPR utility.
but its not copying and also showing the error which i specifed below.
SYSUT1 VALIDATION ERROR
NOT AN IEBCOPY UNLOADED DATA SET - 1ST PHYSICAL RECORD NOT 64 BYTES LONG - ACTUAL VALUE IS X'000050'
DDNAME SYSUT1 REFERS TO PDSU DATA SET ON VOLUME TSO019 NAMED sam.T.copy3
NO MEMBERS COPIED TO DATA SET REFERENCED BY SYSUT2
JOB HAS TERMINATED WITH ERROR(S)
END OF JOB - 8 WAS HIGHEST SEVERITY CODE
Thanks in advance.. |
|
Back to top |
|
|
mkssampathkumar Warnings : 1 New User
Joined: 31 Aug 2006 Posts: 57 Location: chennai
|
|
|
|
hi
in the above post i mentioned IEBCOMPAR instead of IEBCOPY.
The code which i execute is
//STEP01 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=@67710.T.SAMS12,DISP=SHR
//SYSUT2 DD DSN=@67710.T.IEBCOPY4,DISP=MOD
//SYSIN DD *
COPY INDD=SYSUT1,OUTDD=SYSUT2
/*
// |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
//SYSUT2 DD DSN=@67710.T.IEBCOPY4,DISP=MOD
You can't use DISP=MOD for a PDS. |
|
Back to top |
|
|
mkssampathkumar Warnings : 1 New User
Joined: 31 Aug 2006 Posts: 57 Location: chennai
|
|
|
|
Hi
Thanks for ue reply.
I also tried with disposition SHR.its not working.
The reason may be ,we cant use the IEBCOPY utility for copying PS FILE.i tried with PDS file,its working file.The problem which i found is whrn am trying to copy PS file.
Thanks |
|
Back to top |
|
|
|