View previous topic :: View next topic
|
Author |
Message |
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
Iam unable to create new dataset using iefbr14,shows abend jcl error,i pasted thejcl,
000001 //NUSXV81X JOB ,'OPA',MSGCLASS=J,MSGLEVEL=(1,1),
000002 // CLASS=5,NOTIFY=&SYSUID
000003 #JCL
000004 #HLD
000005 //SURE1 EXEC PGM=IEFBR14
000006 //DD1 DD DSN=NUSXV81.PROJECT.COB44,DISP=(,CATLG),
000007 // UNIT=DISK,
000008 // SPACE=(CYL,(2,1)),
000009 // DCB=(RECFM=FB,LRECL=80,BLKSIZE=6320)
000010 //* |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Haribharat,
would u please paste the abend from the spool |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
1 //NUSXV81X JOB ,'OPA',MSGCLASS=J,MSGLEVEL=(1,1),
// CLASS=5,NOTIFY=&SYSUID
IEFC653I SUBSTITUTION JCL - ,'OPA',MSGCLASS=J,MSGLEVEL=
2 //SYSIN DD * GENERATED STATEMENT
3 //STEP010 EXEC PGM=IEFBR14
4 //DD1 DD DSN=NUSXV81.PROJECT.COB44,DISP=(,CATLG),
// UNIT=DISK,
// SPACE=(CYL,(2,1)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=6320)
//*
STMT NO. MESSAGE
2 IEFC019I MISPLACED DD STATEMENT |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi There,
why u put #JCL & #HLD ? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Yes, that definitely misplaced. Who generated it? What is the #JCL and #HLD for? |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
iam new this project, i saw the jcl,if i removed the #jcl,#hld.
spool area jesmsg not display,if add above things it display jesmsg. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
HARIBHARAT wrote: |
iam new this project, i saw the jcl,if i removed the #jcl,#hld. |
Are you saying the sysin dd gets generated even if you remove the #JCL and #HLD?
Quote: |
spool area jesmsg not display,if add above things it display jesmsg. |
Are you saying the sysin dd does not get generated if you remove the #JCL and #HLD? |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi there,
Is it mean that job run successfully once u delete #jcl,#hld. |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Hi there ,
000001 //NUSXV81X JOB ,'OPA',MSGCLASS=J,MSGLEVEL=(1,1),
000002 // CLASS=5,NOTIFY=&SYSUID,msgcalss=z
000003 //*#JCL
000004 //*#HLD
000005 //SURE1 EXEC PGM=IEFBR14
000006 //DD1 DD DSN=NUSXV81.PROJECT.COB44,DISP=(,CATLG),
000007 // UNIT=DISK,
000008 // SPACE=(CYL,(2,1)),
000009 // DCB=(RECFM=FB,LRECL=80,BLKSIZE=6320)
//sysin dd dummy
000010 //*
Small modifications only.....#jcl adn #hld are pertaining to CA-7 cmds i think, if ya don't get the display in the spool modify the message class parameter in the job card. I think u will get it thro.
Cheer's,
Thamilzan. |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
prav what u are saying correct.
it is ca-7 link with.
suresh |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The "//sysin dd dummy" above can be removed. IEFBR14 does not use sysin.
The "misplaced dd statement" was generated because instream data was encountered before the first EXEC statement. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Dang, I missed that....Good call Dick and Prav..... |
|
Back to top |
|
|
|