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
 

 

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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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