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
 

 

Dataset can not be cataloged

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
indus

New User


Joined: 10 Dec 2008
Posts: 12
Location: Bangalore

PostPosted: Thu Oct 22, 2009 7:48 am    Post subject: Dataset can not be cataloged
Reply with quote

Hi,

In my job in first step I am deleting the dataset created by a sort step.2nd step I am sorting the input file and creating the file which was already deleted. Here I have given Disp parameter as (New,catlg,delete). And in the third step I am using this file as an input to a pgm.

When I first run this job it ran sucessfully. From 2nd run onwards it is giving JCL error saying dataset can not be cataloged. But I couldsee in first step the dataset is deleted sucessfully.

Can anyone give me an idea what could be the reason for this error?

Thanks,
Indus
Back to top
View user's profile Send private message

Steve Davies

New User


Joined: 15 Oct 2009
Posts: 32
Location: UK

PostPosted: Thu Oct 22, 2009 7:57 am    Post subject:
Reply with quote

Iy wouldbe helpful if you post your JCL and error message.
Back to top
View user's profile Send private message
jerryli

New User


Joined: 21 Sep 2009
Posts: 2
Location: Taipei

PostPosted: Mon Nov 02, 2009 2:09 pm    Post subject:
Reply with quote

Can you try using disposition (MOD,DELETE) in the first step?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Nov 02, 2009 2:38 pm    Post subject:
Reply with quote

jerryli wrote:
Can you try using disposition (MOD,DELETE) in the first step?

Please wait until the OP finally bothers to post the requested information so that we can see what the problem is before offering suggestions.

Who knows what the problem might be, and until the info is posted, we certainly will not.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Nov 02, 2009 3:02 pm    Post subject:
Reply with quote

indus--I agree with Steve & Expat, however i dare to offer a suggestion. Unless you're using something like UCC11(RMS) what you said won't work. May be you can include the delete step as the last step of JCL, but yes that depends on what you said in first post and you mean that.
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 To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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