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
 
Can we delete a VSAM file directly

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
charu arora

New User


Joined: 30 May 2006
Posts: 13
Location: bangalore

PostPosted: Mon Jun 05, 2006 4:28 pm    Post subject: Can we delete a VSAM file directly
Reply with quote

Can we delete a VSAM file directly

Please advise
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Jun 06, 2006 7:12 am    Post subject:
Reply with quote

Hi Charu,

It's not clear as to how you want to delete the file. Show us how you would LIKE to delete it, then we'll have an idea fo what you want.
Back to top
View user's profile Send private message
anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Tue Jun 06, 2006 10:01 am    Post subject: Re: Can we delete a VSAM file directly
Reply with quote

You can't use TSO delete option for VSAM but you can use IDCAMS utility for deleting the vsam file.
Back to top
View user's profile Send private message
useme

New User


Joined: 19 May 2006
Posts: 1

PostPosted: Tue Jun 06, 2006 12:30 pm    Post subject:
Reply with quote

Here is the JCl that canbe used to delete a VSAM file.

//STEP10 EXEC PGM=IDCAMS

//SYSIN DD *
DELETE T020.VSAM.KSDS CLUSTER
//

Hope this is clear.

Regards
Back to top
View user's profile Send private message
ssprabhu

New User


Joined: 25 Apr 2005
Posts: 67
Location: pune

PostPosted: Sat Jun 17, 2006 10:09 pm    Post subject: Re: Can we delete a VSAM file directly
Reply with quote

Just give DELETE command towards vsam file.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 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 Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm

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