ISPF tips and tricks

1 post / 0 new
Anonymous (not verified)
ISPF tips and tricks

Here are some of the ISPF tips and tricks, I found somewhere to make your life easier while working on mainframe.

 
EDIT commands:
 
We have the following commands used in a file in EDIT mode.
 
A - After
B - Before
C - Copy 
M - Move
O - Overlay
 
Type ‘C’ in a line - it copies that line.
Type ‘Cn’ (n -> 1,2,...) - ‘n’ number of lines copied from the line where you typed ‘Cn’.
Type CC and CC in different lines, the number of lines between block have been copied
Type ‘A’ - it pastes the line copied after the line where you typed ‘A’.
Type ‘B’ - it pastes the line copied before the line where you typed ‘B’.
Type ‘An’ - it pastes the line copied  ‘n’ times after the line where you typed ‘A’.
Type ‘Bn’ - it pastes the line copied  ‘n’ times after the line where you typed ‘B’.
Type ‘M’ in a line - it copies that line. When you type ‘A’ or ‘B’ after that, the line actually gets moved. It is something like Cut + paste. But ‘C’ is something like Copy + Paste
Type MM and MM in different lines, the number of lines between block have been copied
Type R, it copies the line and pastes in the next line.
Type RR and RR between two different lines, the block is copied and pasted on the next line.
 
Move(M) or copy(C) with overlay(O) can be used to merge data from one or more 
source lines onto one or more destination lines.                     
                                                                     
You can also set a bookmark. Type .A in any of the line. Now that line is made as a bookmark. From anywhere, in the editor
you can come to this line by typing L .A. Similarly, you can assign multiple bookmarks by typing .B, .C etc.
 
 
 
 
 
 
 
 
*. 
"; ; ; ;
Sponsored Listing

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer

Navigation