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

Not able to delete a dataset.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anooppthomas

New User


Joined: 06 Sep 2007
Posts: 10
Location: Trivandrum

PostPosted: Thu Mar 12, 2009 12:51 pm
Reply with quote

Hi:

I'm not able to delete a dataset.
In 3.4 I can see that the dataset is available. But while deleting it, it shows that 'Data set not found'.
My job created that dataset. I want to delete the dataset before rerunning the job.

Please advice me.

Cheers,
Anoop
Back to top
View user's profile Send private message
anooppthomas

New User


Joined: 06 Sep 2007
Posts: 10
Location: Trivandrum

PostPosted: Thu Mar 12, 2009 1:00 pm
Reply with quote

SYSUT2 DD DSN=CPCP.MIDCF.MIDREP57.TEMP.OUTPUTS,
SPACE=(CYL,(500,50)),
DISP=(NEW,CATLG,DELETE),DCB=(RECFM=VB,LRECL=1200)
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Mar 12, 2009 1:09 pm
Reply with quote

Add a preceding step of IEFBR14 with DISP=(MOD,DELETE,DELETE).

O.
Back to top
View user's profile Send private message
anooppthomas

New User


Joined: 06 Sep 2007
Posts: 10
Location: Trivandrum

PostPosted: Thu Mar 12, 2009 2:11 pm
Reply with quote

Great!

That worked....
Many thanks for that.

Cheers,
Anoop
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Mar 12, 2009 3:22 pm
Reply with quote

Hi,

ISPF Delete should have worked... icon_neutral.gif - please try again and when message 'Data set not found' appears, hit PF1. There should be long message - please let us know what that message is?
Back to top
View user's profile Send private message
anooppthomas

New User


Joined: 06 Sep 2007
Posts: 10
Location: Trivandrum

PostPosted: Thu Mar 12, 2009 4:14 pm
Reply with quote

Dear Anuj:

Now that problem has been resolved. For the same dataset I can delete it, rename it, edit etc. Previously I was not able to to all these things using the ISPF.
If I face the same problem again, I'll surely post it here.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Mar 12, 2009 4:21 pm
Reply with quote

Fine - have a good one. . .
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
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 Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top