Just Enough ISPF: To Be Dangerous
Just Enough ISPF: To Be Dangerous
to be dangerous
Jul 1999
I’ll show you how to create a PDS or Library to contain JCL. If you need a library to contain COBOL,
SQL, or DATA, just do what is shown here, changing the last part of the PDS or Library name to
COBOL, SQL, or DATA instead of CNTL for JCL.
I assume you have TSO Version 4 with all those extra intrusive things that you don’t really need. I’ll
show you how to disable them so you can get on with your work. If you don’t have Version 4, you can
ignore the things that your system doesn’t have.
I’ll show you just a few of the features of the ISPF Editor.
I’ll show you the essential features of SDSF, an IBM product used to view the printed output of
submitted jobs.
Wherever the booklet says ‘userid’, replace it with your TSO userid. Be aware that some companies
have messed around with normal naming conventions, and so you’ll have to follow their standards.
So log on.
Then get to the main menu or Primary Option Panel of ISPF.
I’ll guide you from there.
Table of contents at end.
Press ENTER
Menu RefList Utilities Help
Allocate New Data Set ----------------------------.
Command ===>
Data Set Name . . . . : userid.CLASS.CNTL
Management class. . . . (Blank for default management class)
Storage class . . . . . (Blank for default storage class)
Volume serial . . . . (Blank for authorized default volume)
Data class . . . . . . (Blank for default data class)
Space units . . . . . TRACK (BLKS, TRKS, CYLS, KB, MB or BYTES)
Primary quantity. . . 10 (In above units)
Secondary quantity. . 5 (In above units)
Directory blocks. . . 10 (Zero for sequential data set) *
Record format . . . . FB
Record length . . . . 80
Block size . . . . . 0
Data Set Name type. . PDS (LIBRARY, HFS, PDS, or blank) *
Expiration date . . . (YY/MM/DD, YYYY/MM/DD
Enter "/" to select option DDDD for retention period in days
Type in attributes like the ones shown in bold. If your installation has other standards, use them.
Then go to the Editor type =2, then ENTER
From http://www.theamericanprogrammer.com commercial use or resale of this document is a violation of copyright laws.
Type in the name of your new library, as well as a member name as shown. Then press ENTER
You have to do it this way on this screen, if it’s the first time you’re
editing this PDS/Library.
File Edit Confirm Menu Utilities Compilers Test Help
-------------------------------------------------------------------------------
EDIT userid.CLASS.CNTL(NEWMEMB) - 01.00 Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
==MSG> -Warning- The UNDO command is not available until you change
==MSG> your edit profile using the command RECOVERY ON.
''''''
? next to the job name breaks the job down into separate print files
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF JOB DATA SET DISPLAY - JOB useridW (JOB00669) LINE 1-6 (6)
COMMAND INPUT ===> SCROLL ===> PAGE
NP DDNAME STEPNAME PROCSTEP DSID OWNER C DEST REC-CNT PAGE
JESMSGLG JES2 2 userid H LOCAL 17
JESJCL JES2 3 userid H LOCAL 51
JESYSMSG JES2 4 userid H LOCAL 110
SYSPRINT STEP1 COB2 103 userid H LOCAL 97
SYSPRINT STEP1 LKED 104 userid H LOCAL 387
SYSOUT STEP1 GO 109 userid H LOCAL 2
Delete a line
File Edit Confirm Menu Utilities Compilers Test Help
-------------------------------------------------------------------------------
EDIT userid.CLASS.CNTL(NEWMEMB) - 01.01 Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
MM THIS IS LINE 2
MM THIS IS LINE 3
000003 HELLO THIS IS A TEST
A THIS IS LINE 2
****** **************************** Bottom of Data ****************************
Terminal Characteristics
Screen format 1 1. Data 2. Std 3. Max 4. Part
Terminal Characteristics
Screen format 1 1. Data 2. Std 3. Max 4. Part
Workstation File:
File Name . . . . .
Another suggestion: Get rid of the key captions from the bottom of your screen.
since scrolling is unaware of the key captions (which means they hide important information!)
Type PFSHOW OFF on any command line.
Creating a PDS/Library 2
Getting into the Editor 5
SDSF 8
The list of files, and a few Editing features 11
Taming TSO Version 4 15
Keys and keylists 21
Removing Key Captions 22
REXX Reference
All REXX verbs, keywords, and built-in functions as found in MVS, VM/CMS and OS/2.
About 100 pages. Ready to ship.
Order from MVS Training (800) 356 9093. http://www.mvs-training.com