View previous topic :: View next topic |
Author |
Message |
luis_a_roman Beginner
Joined: 17 Jul 2003 Posts: 3 Topics: 3
|
Posted: Sun Aug 03, 2003 2:08 am Post subject: TSO Edit commands |
|
|
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 |
|
 |
Mike Beginner

Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
|
Posted: Sun Aug 03, 2003 4:00 am Post subject: |
|
|
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 |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Sun Aug 03, 2003 9:26 am Post subject: |
|
|
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 |
|
 |
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Mon Aug 04, 2003 12:31 am Post subject: |
|
|
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 |
|
 |
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Mon Aug 04, 2003 9:51 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
|
|