Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us