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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

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