Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Unable to create new dataset using IEFBR14 UTLITY

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Unable to create new dataset using IEFBR14 UTLITY
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: 1187
Location: Bangalore,India

PostPosted: Tue Feb 13, 2007 3:26 pm    Post subject:
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    Post subject: Re: IEFBR14 UTLITY
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: 1187
Location: Bangalore,India

PostPosted: Tue Feb 13, 2007 3:35 pm    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 3:40 pm    Post subject:
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    Post subject: Re: IEFBR14 UTLITY
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: 3158
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 4:01 pm    Post subject: Re: IEFBR14 UTLITY
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: 1187
Location: Bangalore,India

PostPosted: Tue Feb 13, 2007 4:04 pm    Post subject:
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    Post subject:
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    Post subject: Re: IEFBR14 UTLITY
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

Site Director


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

PostPosted: Tue Feb 13, 2007 10:36 pm    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 10:59 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us