IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we delete a sequential file


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthikuma

New User


Joined: 29 Mar 2005
Posts: 62

PostPosted: Mon May 16, 2005 9:58 am
Reply with quote

hi,

whether we can delete an sequential files,if yes means plz give an correct syntax.it will be helpful for me.


regards,
kumar
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon May 16, 2005 3:35 pm
Reply with quote

Code:

TSO DELETE 'seq.file.name'
Back to top
View user's profile Send private message
karthikuma

New User


Joined: 29 Mar 2005
Posts: 62

PostPosted: Tue May 17, 2005 9:47 am
Reply with quote

hi,

whether we can able delete the sequentil file by giving delete option whether it is possible.

regards,
kumar
Back to top
View user's profile Send private message
yadavakeerthi

New User


Joined: 02 Apr 2008
Posts: 1
Location: hyderabad

PostPosted: Wed Apr 02, 2008 3:15 pm
Reply with quote

we canot directly delete the seqential file by using delete command.there r two ways to delete
1.rewriting with spaces

2.copy to another sequential except that data
Back to top
View user's profile Send private message
Richa Jain

New User


Joined: 18 Mar 2008
Posts: 35
Location: Gurgaon

PostPosted: Wed Apr 02, 2008 4:12 pm
Reply with quote

We can directly delete it by writing D against the file and hit enter.
I donno if it depends shop to shop
Back to top
View user's profile Send private message
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Wed Apr 02, 2008 5:20 pm
Reply with quote

we can delete a flat file by directly giving D against it in the listing.

are you asking the way to delete the file or are you talking about the deletion of record from a file?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Apr 02, 2008 5:48 pm
Reply with quote

Why are we replying to a three-year old topic?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Apr 02, 2008 9:38 pm
Reply with quote

And with wrong informaiton...
Quote:
1.rewriting with spaces

2.copy to another sequential except that data


P.S.: Sorry Kevin, I don't want to go against your thought, but a above 'quote'd text made me to ping in.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 02, 2008 9:54 pm
Reply with quote

Hello,

Quote:
we canot directly delete the seqential file by using delete command.
Yes, we can. . . Why do you think we cannot?

Quote:
there r two ways to delete
1.rewriting with spaces

2.copy to another sequential except that data
Neither of these suggestions delete the file. Why would you believe either of these accomplishes a file deletion? One wipes out the data, but the file still exists.

Quote:
Why are we replying to a three-year old topic?
Because We Can - icon_cool.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 7
No new posts DELETE SPUFI DB2 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts DSNTIAUL driven delete IBM Tools 0
Search our Forums:

Back to Top