jagadishan perumal wrote:

>We have a PS file record where we have more than 1000 records.

There is no such thing like 'PS File', but you get a PS dataset. Unless you are 
refering to a file in zFS (or OMVS/USS :D ). 

Ok, enough nitpicking... :-D

1000 lines? Hmm, small. Very small. Unless you're having some strange layout 
and/or organization or being limited in REGION size.


> Just of of curiosity is it possible to delete a selected line without using 
> "D" tso command.

What is your criteria to select a line? Hex, characters, columns, sequence? 
How are you going to handle more than one lines matching your criteria?

'Without D' command? It is perhaps possible - REXX programming, macros, REPRO, 
DFSORT copy, etc.


> Objective behind this deletion is just to make sure the deletion is just done 
> without disturbing anyother Lines. 

All lines AFTER the deleted line(s) will be shifted this many deleted lines 
nearer to the beginning of your dataset. 
Unless you want to REPLACE that line(s).
Do you want to preserve the numbering of the lines?


>Tried Googling to find if there are any TSO tricks to do the same but not able 
>to get the one.

Really? What search argument(s) did you tried out?


>Any suggestions or ideas are much appreciated.

You got several good replies. Check them out especially those about EDIT macros.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to