IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Unable to create new dataset using IEFBR14 UTLITY


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Tue Feb 13, 2007 3:22 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Feb 13, 2007 3:26 pm
Reply with quote

Hi Haribharat,

would u please paste the abend from the spool
Back to top
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Tue Feb 13, 2007 3:33 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Feb 13, 2007 3:35 pm
Reply with quote

Hi There,

why u put #JCL & #HLD ?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 3:40 pm
Reply with quote

Yes, that definitely misplaced. Who generated it? What is the #JCL and #HLD for?
Back to top
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Tue Feb 13, 2007 3:49 pm
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 4:01 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Feb 13, 2007 4:04 pm
Reply with quote

Hi there,

Is it mean that job run successfully once u delete #jcl,#hld.
Back to top
View user's profile Send private message
prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Tue Feb 13, 2007 4:45 pm
Reply with quote

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
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Tue Feb 13, 2007 5:06 pm
Reply with quote

prav what u are saying correct.

it is ca-7 link with.
suresh
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Feb 13, 2007 10:36 pm
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 10:59 pm
Reply with quote

Dang, I missed that....Good call Dick and Prav.....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top