Page 1 of 1

not able to copy 10 records from tape

PostPosted: Mon Feb 01, 2010 12:17 pm
by mainframe1
hi, i have used the follwomg jcl for copying 10 records from tape to dasd. getting S837,
//S15S  EXEC PGM=SORT
//**********************************************************************
//*       COPY OUT TAPE FOR INTERNAL PURPOSE                           
//**********************************************************************
//SORTIN  DD DSN=aaa.bbb.cccc.M00,DISP=SHR,                         
//             UNIT=VTS1                                               
//SORTOUT DD DSN=TST.sss.333.INPUT,DISP=(,CATLG,DELETE),               
//           SPACE=(CYL,(10,10))                                               
//SYSOUT    DD SYSOUT=*                                                 
//SYSIN DD *                                                           
  SORT FIELDS=COPY,STOPAFT=10                                           
/*                                                                     


pls help

Re: not able to copy 10 records from tape

PostPosted: Mon Feb 01, 2010 5:06 pm
by Robert Sample
Sx37 messages relate to end of files. The S837 should have been accompanied by an IEC028I message, which will tell you what the system perceives the problem to be. Are you sure there are 10 records on the tape?

Re: not able to copy 10 records from tape

PostPosted: Mon Feb 01, 2010 7:44 pm
by MrSpock
And if you want a reasonable response from the DFSORT team you should be posting the entire contents of your SYSOUT DD with all of the DFSORT ICE* messages.