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

Reg.TSO Command


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Britto
Currently Banned

New User


Joined: 30 Dec 2011
Posts: 12
Location: INDIA

PostPosted: Wed Mar 07, 2012 7:04 pm
Reply with quote

*Is there any TSO command available to change the string value in one specific line.

*also,change the string value only the range of line if the string in available in that lines

for example i would like to change the string value ( c all 'brit' 'anto' ) in between line numbers 10 and 20.



Thanks
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Mar 07, 2012 7:15 pm
Reply with quote

no,
but there exists an ISPF command to do so.
you can find it in an ISPF Edit and Edit Macros Manual
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Wed Mar 07, 2012 7:24 pm
Reply with quote

If you are using ISPF edit, you can exclude the lines you are interested in and then use c all 'brit' 'anto' X
Back to top
View user's profile Send private message
Michael Jakob

New User


Joined: 13 Mar 2011
Posts: 17
Location: Switzerland

PostPosted: Sat Mar 10, 2012 3:36 am
Reply with quote

In ISPF editor you can also use editor labels.

mark the first line in the number field with
.a
and the last line with:
.e

Then use the change command like this.

c all 'brit' 'anto' .a .e

The change will only be done between the labled lines .a through .e .
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sat Mar 10, 2012 12:00 pm
Reply with quote

Britto is banned so the chances for Him to see any reply is just NULL
I am not disparaging Your suggestion ....
but also the outlook that Your answer might help other people is NULL
the same suggestions has been give quite a few other times,
but since people keep asking, they are not willing to build based on answers to other posts,
there are just too many lazy morons around who keep asking over and over the same things without searching beforehand icon_wink.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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top