MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TSO Edit commands

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
luis_a_roman
Beginner


Joined: 17 Jul 2003
Posts: 3
Topics: 3

PostPosted: Sun Aug 03, 2003 2:08 am    Post subject: TSO Edit commands Reply with quote

Where can I find information regarding TSO/Edit commands. I would like to know;
a. How to concatenate edit commands like c 'exec' 'exec.dll' ?
b. Exclude all lines with exec and change them to exec.dll.
c. How can I set my pf keys

I'm failry new to TSO/ISPF edit and any information or website that I can get the answer to the above questions will be appreciated.

Luis
Back to top
View user's profile Send private message
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Sun Aug 03, 2003 4:00 am    Post subject: Reply with quote

First thing TSO EDIT and ISPF EDIT are two different things. My guess is that you probably only use ISPF edit. You can concatenate commands with seperating them with a semi-colon. e.g. x 'exec' ALL;c 'exec' 'exec.dll' X all . I think this will answer your second question as well. I'll let someone else answer the last, can't remember what the command is offhand.
Regarding obtaining information. Go to the home page and you'll see ISPF, there's a lot of information though.
_________________
Regards,
Mike.
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Sun Aug 03, 2003 9:26 am    Post subject: Reply with quote

Hi

Try the command 'KEYS' in ISPF.

O.
________
Chrysler Chronos


Last edited by ofer71 on Sat Feb 05, 2011 11:00 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Mon Aug 04, 2003 12:31 am    Post subject: Reply with quote

Hi Luis,

You can string ISPF cmds as Mike shows. What I've found helpful is to cut and paste these command strings into a PDS with some comments about their use. Then you don't have to worry about running out of PF Key space. Just overlay what you don't need at the moment with a cmd string (or strings) that you do need.

Which brings up another point. You can use more than one PFKey to accomplish something a little more complicated, just hit the keys in sequence.

The trick to stringing commands is to know where your cursor is after each command.

There is a way to enter line commands on the cmd line, e.g. .a, .b., cc, dd, a, b, etc. You just preceed each of them with a ":", e.g :aa, :cc, etc. on the command line.

For example, if you wanted to delete all the lines between the line containing "xxx"
and the line containing "yyy" in the following file:
Code:

...... aaaaaaaaaaaaa
...... babababababab
...... aaaaaaaaaaaaa
...... babababababab
...... xxxaaaaaaaaaa
...... nnnnnnnnnnnnn
...... nnnnnnnnnnnnn
...... yyyababababab
...... aaaaaaaaaaaaa
...... babababababab

You could code this in the cmd line: f xxx;:.a;f yyy;:.b;x all .a .b;del all x

The f xxx;:.a;f yyy;:.b results in the followig:
Code:

...... aaaaaaaaaaaaa
...... babababababab
...... aaaaaaaaaaaaa
...... babababababab
.a     xxxaaaaaaaaaa
...... nnnnnnnnnnnnn
...... nnnnnnnnnnnnn
.b     yyyababababab
...... aaaaaaaaaaaaa
...... babababababab

When the remainder of the cmd string executes it gives the desired result:
Code:

...... aaaaaaaaaaaaa
...... babababababab
...... aaaaaaaaaaaaa
...... babababababab
...... aaaaaaaaaaaaa
...... babababababab


Regards, Jack.
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Mon Aug 04, 2003 9:51 am    Post subject: Reply with quote

Hi Luis,
Did you try ISPF 'HELP' ? if not try it - type HELP or hit F1 key. You can get to know all about ISPF edit with examples.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon Aug 04, 2003 10:52 am    Post subject: Reply with quote

luis_a_roman,



The following links should be helpful.

TSO/E Command Reference

TSO/E Primer

TSO/E User's Guide

TSO/E Programming Guide


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group