View previous topic :: View next topic
|
Author |
Message |
Aradhana Rathore.
New User
Joined: 22 Jul 2013 Posts: 11 Location: INDIA
|
|
|
|
Sorry that was a type mistake.
That particular dsn was created successfully, but required target was not achieved.
Instead of , can any one have sample job for the same...? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
what do you mean by 'target' - the data within the dataset? If so, how is it wrong? |
|
Back to top |
|
|
Aradhana Rathore.
New User
Joined: 22 Jul 2013 Posts: 11 Location: INDIA
|
|
|
|
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. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Also my target is still not achieved |
It will not be until this
WEAPEDIT STEP001 - STEP WAS EXECUTED - COND CODE 0008
is corrected . . . |
|
Back to top |
|
|
Aradhana Rathore.
New User
Joined: 22 Jul 2013 Posts: 11 Location: INDIA
|
|
|
|
I know that.
Can any one has sample jcl, which will help me....? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 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.
Good luck. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 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
Code: |
IEB024I high WAS HIGHEST SEVERITY CODE |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Howdy,
Well, i put together a Very Simple job:
Code: |
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*,DCB=BLKSIZE=121
//SYSUT1 DD DSN=MY.TEST.JCLLIB.JNK,DISP=SHR,
// DCB=LRECL=80,UNIT=SYSALLDA
//SYSUT2 DD SYSOUT=*,DCB=BLKSIZE=121
//SYSIN DD *
EDIT START=BCOPY
/* |
submitted it and got:
Code: |
IEB027I I/O ERROR ,MSRDSEDT,STEP001 ,863B,D,SYSUT1 ,GET ,WRNG.LEN.RECORD,0000001A000000,QSAM
IEB024I 8 WAS HIGHEST SEVERITY CODE |
For whatever reason, it is unhappy with SYSUT1 and i don't see why . . . |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 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. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
How silly of me . . .
When SYSUT2 with no DCB failed, i added the 121 . . . D'oH . . .
Changed it to 80 and got the same thing.
Still have no clue why SYSUT1 is a problem . . .
Not really a bother, just had a minute and was curious |
|
Back to top |
|
|
|