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 sequential file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Can we delete a sequential file
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

Moderator Team Head


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

PostPosted: Mon May 16, 2005 3:35 pm    Post subject: Re: sequential file
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    Post subject: Re: sequential file
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    Post subject:
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    Post subject:
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    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Apr 02, 2008 5:48 pm    Post subject: Reply to: Can we delete a sequential file
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

Senior Member


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

PostPosted: Wed Apr 02, 2008 9:38 pm    Post subject:
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

Site Director


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

PostPosted: Wed Apr 02, 2008 9:54 pm    Post subject:
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    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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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