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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm

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