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

GDG Tape data set error: IEF287I &1 NOT CATLGD


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

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Fri Mar 23, 2007 10:32 pm
Reply with quote

hi All,

Please look into the below problem and shed some lights.

I have following step in my jcl.

//SORTIN DD DSN=GDG.TEST.INPUT(+1),
// DISP=SHR
//SORTOUT DD DSN=GDG.TEST.OUTPUT(+1),
// DISP=(NEW,CATLG,DELETE),
// UNIT=TAPE,VOL=(,,,99),
//DCB=MDLDSCB,RECFM=FB,LRECL=5000,BLKSIZE=0,BUFNO=28)

I am getting a JCL error in the above step.

Error and explanation is as follows.

**********************************************
IEF287I &1 NOT CATLGD 7

The data set to be cataloged was not opened and the
following information was not provided on the DD
statement or via the retrieved source (VOL=REF or
passed data set):

Density For dual density tape requests only

Recording mode For requests where compaction
information is required
***********************************************

A very peculair thing is, this happens only in sort steps.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Fri Mar 23, 2007 10:41 pm
Reply with quote

You were expecting no output, just trying to catalog an empty generation?
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Fri Mar 23, 2007 10:45 pm
Reply with quote

Hi Will,

This is the first run of this job and GDG.TEST.INPUT(+1) is created in aprevious step. And no way it will be empty.

I have tried the same JCL in testing and it worked. But then I was using DASD instead of Tape.

Thanks,
Abin
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Fri Mar 23, 2007 10:58 pm
Reply with quote

It would help very much if you would share the full content of the actual error message......
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: Fri Mar 23, 2007 11:27 pm
Reply with quote

Hello,

It will also help if you post the actual (production) jcl/control statement(s), not an edited piece of the jcl. I'm not positive, but i do believe the jcl posted will cause a jcl error. . .

On your production system has the GDG base been defined for:
Quote:
GDG.TEST.OUTPUT
?

I'd question why a "TEST" dataset is being created in your first production run icon_confused.gif
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Fri Mar 23, 2007 11:55 pm
Reply with quote

Hi will,

I'll sent the JCl once I get to my office. Sorry to say this.Its night here and i'm out of office

icon_sad.gif

GDG.TEST.OUTPUT is not a test GDG I just have put it there actuall name is different. And that ds created in a previous step using an existing ds.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Fri Mar 23, 2007 11:56 pm
Reply with quote

Looking forward to it..... icon_lol.gif
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: Sat Mar 24, 2007 12:05 am
Reply with quote

Hello,

Regardless of the node name (i.e. TEST) whatever you used has to have a GDG definition in production. Has one been defined??

Your problem is not with the dataset created in the previous step - it is with the new dataset in the problem step.

As Bill said
Quote:
Looking forward to it.....
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Sat Mar 24, 2007 10:42 am
Reply with quote

Hi,

It was problem with GDG base as will said. Its fine now. I feels like fish out of water icon_mad.gif

Thanks for support guys.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Sat Mar 24, 2007 2:27 pm
Reply with quote

Ah, shucks.....'fess up now, what was the problem?
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Sat Mar 24, 2007 5:25 pm
Reply with quote

no IDEA WILL IT WORKED TODAY

I'M CHECKIN ON IT
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 Store the data for fixed length COBOL Programming 1
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top