0% found this document useful (0 votes)
16 views

Mainframe Tips and Tricks

Here are 3 sentences summarizing the key points from the document: The document provides tips for using common EDIT commands in ISPF such as copying, moving, and pasting lines using commands like C, M, A, and B, and also setting bookmarks to easily navigate back to lines using commands like .A. It explains how to copy and paste single lines or blocks of multiple lines using commands like CC, MM, and RR. The tips also cover using overlay commands like MO to merge data from source lines into destination lines.

Uploaded by

Roopa Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Mainframe Tips and Tricks

Here are 3 sentences summarizing the key points from the document: The document provides tips for using common EDIT commands in ISPF such as copying, moving, and pasting lines using commands like C, M, A, and B, and also setting bookmarks to easily navigate back to lines using commands like .A. It explains how to copy and paste single lines or blocks of multiple lines using commands like CC, MM, and RR. The tips also cover using overlay commands like MO to merge data from source lines into destination lines.

Uploaded by

Roopa Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like