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 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: 4650
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: 4650
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 COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
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

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