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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


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