It was not clear if you are using NATIVE TSO EDIT or if you are using ISPF 
There are two lists you may wish to join if you have not done so already

TSO/REXX        URL to join:
http://www2.marist.edu/htbin/wlvindex?TSO-REXX
ISPF                URL to join:
https://listserv.nd.edu/cgi-bin/wa?A0=ispf-l



Using ISPF you can restrict a change command by combining LABELS and COLUMNS

So if your data is on lines 50 to 100 -  type a  .a (dot a) on line 50, then
a .b (dot b) on line 100.

Then the change command would look like

C "string" "newstring" .a .b 35 50 all

This will only change the lines .a to .b  and only columns 35 to 50 and the
ALL says do all lines


Use PF1 for HELP in ISPF 

Review CHANGE and LABELs and COLUMNs 

You can exclude lines you do not want changes to occur on and then your
change command could look like

C "string" "newstring" .a .b 35 50 all NX 
NX says only lines showing - not excluded


What would might work better is to use ISPF in Batch. You could create a
REXX with an ISPF EDIT Macro to EDIT your dataset.

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of esmie moo
> Sent: Friday, July 25, 2014 6:50 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: TSO EDIT COMMAND - BOUNDS
> 
> Good Morning Gentle Readers
> 
> I am trying the bounds command because I want to make a universal change
> between columns 35 to 50.
> 
> I tried the HELP BNDS doc however it is not very clear.  Here is what it
says:
> 
> The bounds may then be changed by overtyping with < to define the left
> bound and > to define the right bound.
> 
> I am not sure where I would overtype the < & the >
> 
> I tried >35 but it shifted the datat to col 35 which is not what I want.
> 
> I would like to set the bounds between col 35 & 50 so that I can enact my
CHANGE
> command.
> 
> Is this possible?
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
to
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to