Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
Hello,
Sorry, your JCL appears correct . . .
You will have to get by the error to proceed. Suggest you talk with your system support.
I'd guess your system is showing a wrong length record - even though the record may be correct. It must be 80. There are other reports of this error in the forum. So far i do not see a solution . . .
Keep in mind that IEBEDIT is very old and very pickly and the "pickiness" is not documented as far as i know. There is at least one example in the forum where the poster says his iebedit works. If i have time later, i'll try to find it.
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
Aradhana Rathore. wrote:
See my target is to execute only steps E16005 of job WDAAAAAA and WDBBBBBB resp.
After executing the job that DSN was created, but was empty.Also my target is still not achieved.
As Mr. Scherrer says, Aradhana-chan, a RC=8 is not an abend, so the data set would not have been deleted by MVS dispositive processing. You can, if you wish, add a second step enclosed in an IF construct, thus;
Code:
//IF1 IF (STEP001.RC NE 0) THEN
//STEP002 EXEC PGM=IEFBR14
//DD1 DD DSN=PPPRG2.IRAM.JCL.JCL,DISP=(OLD,DELETE)
//ENDIF1 ENDIF
As Mr. Scherrer also says, IEBEDIT is a very old program (almost as old as I). The SYSPRINT data set, in particular, must have a blocksize that is a multiple of 121, or the step will indeed terminate with RC=8. I recommend that you code it as
Code:
//SYSPRINT DD SYSOUT=A,DCB=BLKSIZE=121
Finally, that SYSPRINT data set will contain diagnostic messages that explain just what went wrong. If you do not understand, post them here in Code tags. Be sure to include the message number, so that they look like
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
I'm pretty sure that the blocksizes for SYSUT1 and SYSUT2 have to be multiples of 80. You could use 9680 (= 80 * 121) as blocksize for both, or have SYSUT2 point to a data set rather than the spool. Or you could just not bother, of course
One thing that hasn't come up in this discussion is the possibility of Aradhana-chan using something other than a crufty old utility inherited from OS/360.