0% found this document useful (0 votes)
492 views3 pages

100 Mainframe Tips

The document contains tips for using ISPF, FILEAID, and SDSF. Some key tips include: 1. To view changes made since the last save in ISPF, use the COMPARE SESSION command. 2. To change the creator ID on a PDS or PS without leaving a trace, go into the member/name and use the dialog box to change IDs. 3. To check which TSO region you are logged into, issue the SAREA command in ISPF. 4. Precede commands with "& " to keep them on the screen after execution for easy repeating. 5. To filter SDSF jobs lists to only show ABENDED jobs, use the

Uploaded by

Vinothkumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
492 views3 pages

100 Mainframe Tips

The document contains tips for using ISPF, FILEAID, and SDSF. Some key tips include: 1. To view changes made since the last save in ISPF, use the COMPARE SESSION command. 2. To change the creator ID on a PDS or PS without leaving a trace, go into the member/name and use the dialog box to change IDs. 3. To check which TSO region you are logged into, issue the SAREA command in ISPF. 4. Precede commands with "& " to keep them on the screen after execution for easy repeating. 5. To filter SDSF jobs lists to only show ABENDED jobs, use the

Uploaded by

Vinothkumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

ISPF

TIP # 001
Consider that you are editing a file/program and you want to know the
changes you have done since the last SAVE command.
How to find that?
Answer:
Give COMPARE SESSION on the command line. You will get an =======
line, that happens to be the difference between the current session &
previously saved session. Use the line command MD to add that line in the
current session.

TIP # 002
Usually the PDS or PS bears the ID of the creator or the ID of the person
who modified it
recently.But is it possible to change these ID values without leaving trace
of one’s own ID?
Answer:
Yes its possible! Go into the PDS In the command area against the
member name or PS name, by giving ‘G’. Dialog box will pop up allowing
you to change the ID values.

TIP # 003
Suppose you are in a ISPF Screen and want to know in which TSO Region (
Development,
Production, or other TSO regions) you are now . If u are using multiple
logins it will be easy. Answer:
Issue on the command line : SAREA
ISPF STATISTICS Pop-up window will show you the region( and other info
too)

TIP # 004
Any command entered in the COMMAND LINE disappears after the
successful execution of its intended function. If you want to repeat the
same command , you got to re-type it or use some PF key to retrieve the
last command entered. But here is a cool method the make the command
entered not to disappear and stay on the screen. Precede commands with
'& '
For Example:
COMMAND ===> &C '110-PARA' '220-PARA' SCROLL ===> CSR
****** ************************ TOP OF DATA **************
000001 IDENTIFICATION DIVISION.
000002 PROGRAM-ID. COBOLSAMY.
000003 DATE-WRITTEN. APRIL 2004.
After the execution of the command, the below command stays on the
screen.
This way you can entering the same command or modifying the command
a little and using it
multiple times.

TIP # 010
I want to find a member but I don’t know the PDS to which it belongs. I
only know the high
level qualifier of the PDS.
Answer:
For example, lets consider high level Qualifier as MYID.MYAPPLN.* and
member as MYMEM
1. Go to 3.4 and list all PDS with MYID.MYAPPLN.*
2. Now issue, MEMBER MYMEM on the command line
TIP # 011
I want to know what are the last 25 COMMAND LINE commands that I
have issued from ISPF panel.
Answer:
To get that, I have to issue, RETP on the Command line.

TIP # 012
I want to edit a member, which has CBL as middle string in the PDS
MY.PDS.MEMBERS.
One shortcut way is to in the ISPF 3.4 listing of the PDS,
issue S *CBL* E in the command line. If we don’t use E at the end, it will
open in browse mode.

TIP # 014
Here is a tip by which you can avoid ISPF 3.4 Option!!!
To Open a PS or PDS member, we usually use ISPF 3.4 to open in EDIT or
BROWSE MODE.
Here is one way where one can open PS or PDS member in
EDIT/VIEW/BROWSE
mode from any command line. Thus, we can avoid using 3.4 option.
Issue : EPDF ‘MYID.MYPS’ . The Dataset will be opened in EDIT MODE
If you want to open in VIEW mode:
Issue : EPDF ‘MYID.MYPS’ VIEW
Similarly, for opening in BROWSE mode, type BROWSE at the end.

TIP ###
Cut Command
Select the block by using CC line command
Type CUT in the command line
Use the line command A after which you want the line to appear
then type PASTE line command.

FILEAID

TIP # 071
We always face a s ituation such that when we have opened a File in FI
LEAI
D Brows e mode but later wished it was EDI T Mode and vice ver sa. S o in
this s ituation, what we do is come out of the brows e mode and again
open in
edit mode and vice ver sa. But ther e is a cool command available in FI LE-
AI D
to help us in this type of s ituation.
I f u r in Brows e Mode and want to change it into EDI T Mode , in the Line
Command is sue
COMMAND = = > GO EDI T
I f u r in EDI T Mode and want to change it into BROWS E Mode , in the
Line
Command is sue
COMMAND = = > GO BROWS E

SDSF

TIP # 084
I have some 50 jobs in my SPOOL. I want to list only the jobs that are
ABENDED.
For such a kind of listing, use the primary command FILTER on the
command line as given in
the examples below
FIL MAX AB* - shows jobs that has ABENDS
Other Examples are:
FIL MAX ‘JCL ERROR’ - shows jobs that has JCL errors
FIL MAX NE ‘RC 0000’ - shows jobs with “exceptional conditions”
FIL MAX EQ ‘RC 0000’ - shows successfully completed jobs
If you want to switch off the filter, then issue FIL OFF

You might also like