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
 

 

Not able to delete a dataset.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Not able to delete a dataset.
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    Post subject: The creation step is
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: 2360
Location: Israel

PostPosted: Thu Mar 12, 2009 1:09 pm    Post subject:
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    Post subject:
Reply with quote

Great!

That worked....
Many thanks for that.

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

Senior Member


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

PostPosted: Thu Mar 12, 2009 3:22 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Mar 12, 2009 4:21 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 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


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