Mainframe Utilities

Note: This collection of utilities is still under construction. All the utilities exist and are listed below, but I only have links to the code for the main module of the utility. I have all the other modules (e.g. panels, messages, sub-modules, etc.) and will be glad to email them to you if needed. Eventually, I’d like to see them all available for direct download individually as well.

In the meantime however, (or if you’re just a gadget freak like me), I have all the modules and components in IEBUPDTE format (i.e. one file to load an entire PDS), zipped right here. Just download what you need and you’ll never have to try drum up my help again! (Questions, of course, are always welcome!  Leave them on the forum so that everyone can profit.).

Component Type

Zip File

Text File

Clist and Rexx modules (SYSPROC)

MFCLSTREXX.zip (833kb)

MFCLSTREXX.TXT (4,675kb)

COPYLIB for COBOL modules

MFCOPYLIB.zip (1kb)

MFCOPYLIB.TXT (3kb)

Source for COBOL modules

Mfsrclib.zip (266kb)

Mfsrclib.txt (266kb)

Various forms of module documentation (i.e. DOCLIB)

Mfdoclib.zip (72kb)

Mfdoclib.txt (72kb)

ISPF message library

MFISPMLIB.zip (3kb)

MFISPMLIB.TXT (11kb)

ISPF panel library

MFISPPLIB.zip (104kb)

MFISPPLIB.TXT (587kb)

ISPF skeleton library

MFISPSLIB.zip (72kb)

MFISPSLIB.TXT (498kb)

ISPF table library

MFISPTLIB.zip (81kb)

MFISPTLIB.TXT (311kb)

Note Also: These utilities were created during my 16 years in corporate IT, working mainly on IBM mainframe computers. This was from 1984 through 2000. I am now a missionary in Europe and have no mainframe access or job responsibilities. Consequently, while I’m glad to troubleshoot as best I can, I’m limited to applying my mind and memory to your queries, but unfortunately no CPU time (heck, I don’t even have SPF/PC or a good 3270 terminal emulator on my machines at home!).

Select a category of utilities to browse through, scroll, or search (searches only these mainframe utilities):

CICS

COBOL

CSP

DATASET

DB2

ISPF

JCL

MISC


CICS

Back to the top of the page

CICSDSN Display DSNs associated with CICS file names
This utility functions as a TSO command
MAPREDEF Create COBOL redefinition of vanilla BMS map layout
This utility functions as an ISPF Edit Macro
SHOWMAP Show the map image for BMS source mbr being edited
This utility functions as an ISPF Edit Macro


COBOL

Back to the top of the page

BC Browse compile listing for the program being edited
This utility functions as an ISPF Edit Macro
BRANCH Branch to performed subroutine in a COBOL program
This utility functions as an ISPF Edit Macro
BRANCHBK Return to last spot in pgm you “BRANCH”ed from
This utility functions as an ISPF Edit Macro
CMP Merge two versions of a program (COBOL)
This utility functions as a TSO command
COMPILE Automatic compile/assemble JCL creator/submittor
This utility functions as a TSO command
This utility functions as an ISPF Edit Macro
COMPMARK Mark COBOL compiler messages in code being edited
This utility functions as an ISPF Edit Macro
COUNTPIC Count the VALUE literal bytes and update the PIC
This utility functions as an ISPF Edit Macro
CPY Edit/Browse COPYBOOK member as edit or TSO command
This utility functions as a TSO command
This utility functions as an ISPF Edit Macro
EC Edit compile listing for the program being edited
This utility functions as an ISPF Edit Macro
INSCOPY Insert copybook lines as message lines into a pgm
This utility functions as an ISPF Edit Macro
LAYOUT Show layout position,length or convert to sort sysin
This utility functions as an ISPF Edit Macro
LINEUPTO Line up “TO”s in COBOL programs by paragraph/section
This utility functions as an ISPF Edit Macro
PC Print compile listing DSN for COBOL pgm being edited
This utility functions as an ISPF Edit Macro
PGMFLOW Invoke the TREE utility pgm for the pgm being edited
This utility functions as an ISPF Edit Macro
PKK Create PIC clauses for all VALUE clauses in a pgm.
This utility functions as an ISPF Edit Macro
SPLITTO Use with LINEUPTO to automatically split error lines
This utility functions as an ISPF Edit Macro
UNUSED Mark unused working storage elements in COBOL pgms
This utility functions as an ISPF Edit Macro
VIEWJCL Display the “execute” JCL which invokes this pgm
This utility functions as an ISPF Edit Macro


CSP

Back to the top of the page

APPLCMPR Compare CSP application in DEVL w/higher levels
This utility functions as a TSO command
CSPDB2XR Create a CSP Record to DB2 Table Cross Ref. Report
This utility functions as a TSO command
ESFRECD Update CSP records in ENDEVOR directly from DB2
This utility functions as a TSO command
PCKGCHCK Perform where-used on package components
This utility functions as a TSO command


DATASET

Back to the top of the page

$COMPAR1 Set “OLD” dataset name to compare against
This utility functions as a TSO command
$COMPAR2 Set “NEW” dataset for compare and initiate compare
This utility functions as a TSO command
$C1 Alias of $COMPAR1
This utility functions as a TSO command
$C2 Alias of $COMPAR2
This utility functions as a TSO command
$F Invoke File-Aid for a DSN on DSLIST (3.4 screen)
This utility functions as a TSO command
$FB Invoke File-Aid Browse for DSN on DSLIST (ISPF 3.4)
This utility functions as a TSO command
$FE Invoke File-Aid Edit for DSN on DSLIST (ISPF 3.4)
This utility functions as a TSO command
$LC Alias of $LISTCAT
This utility functions as a TSO command
$LIBCLN1 Set OLD dataset value for LIBCLEAN utility from 3.4
This utility functions as a TSO command
$LIBCLN2 Set NEW dataset value for LIBCLEAN utility from 3.4
This utility functions as a TSO command
$LISTCAT Dump LISTCATs to a file. Use in ISPF 3.4
This utility functions as a TSO command
$P Alias of “$PRINTIT”
This utility functions as a TSO command
$PRINTIT Invoke PRINTIT from the DSLIST (3.4) screen
This utility functions as a TSO command
$RELGEN Return the relative gen number for a g0000v00 DSN
This utility functions as a TSO command
$S Alias of $SCAN
This utility functions as a TSO command
$SCAN Invoke ISPF 3.14 from the DSLIST screen for a DSN
This utility functions as a TSO command
$TD Alias of $TDATE
This utility functions as a TSO command
$TDATE Display the create date and time of a tape on 3.4
This utility functions as a TSO command
$TI Alias of $TINFO
This utility functions as a TSO command
$TINFO Display TMS info for a tape from ISPF 3.4 screen
This utility functions as a TSO command
A Put AFTER any line containing
This utility functions as an ISPF Edit Macro
ADDCOL Add up #’s in a column of data w/in an ISPF edit
This utility functions as an ISPF Edit Macro
ATEND Place strings at “logical” end of a block of lines
This utility functions as an ISPF Edit Macro
B Put BEFORE lines containing
This utility functions as an ISPF Edit Macro
BLDG Build, Delete, and List GDG indexes on-line
This utility functions as a TSO command
BROWSEME Browse the dataset currently being edited.
This utility functions as an ISPF Edit Macro
CENTER Center the line of text in a file you are editing
This utility functions as an ISPF Edit Macro
COLS Create a “COLS” DATA line in the file being edited
This utility functions as an ISPF Edit Macro
COMBOX Insert various types of comment boxes in files
This utility functions as an ISPF Edit Macro
COMPARE Invoke ISPF option 3.13 from anywhere and get back
This utility functions as a TSO command
COMPRSME Compress the PDS that you are currently editing
This utility functions as an ISPF Edit Macro
CONTENTS Bring lines of named dsn into the file being edited
This utility functions as an ISPF Edit Macro
COPYCOL Copy a column of data to another column in edit
This utility functions as an ISPF Edit Macro
COPYX Copy excluded lines in file before/after another one
This utility functions as an ISPF Edit Macro
COUNTKEY Count the occurances of unique keys in files
This utility functions as a TSO command
CUT The data storage part of the CUT and PASTE utility
This utility functions as an ISPF Edit Macro
DDCONCAT Add libraries to top/bottom of standard ISPF DDs
This utility functions as a TSO command
DELDUPS Delete duplicate records in a dataset being edited
This utility functions as an ISPF Edit Macro
DELETEME Delete the PDS MEMBER currently being edited
This utility functions as an ISPF Edit Macro
DRAWBOX Draw a box within a file being edited
This utility functions as an ISPF Edit Macro
ECHANGE Extended edit “change” facility for long strings
This utility functions as an ISPF Edit Macro
FINDALL Find all occurances of string that your cursor is on
This utility functions as an ISPF Edit Macro
FLOW “Text-flow” a paragraph and indent to the cursor pos
This utility functions as an ISPF Edit Macro
GDGGEN Return “GOOVOO’s” for GDG DSN’s for use in CLISTs
This utility functions as a TSO command
INFODSN Display information about a dataset
This utility functions as a TSO command
This utility functions as an ISPF Edit Macro
INFRONT Put a string in column 1 of each identified line
This utility functions as an ISPF Edit Macro
KEYCOUNT Count “key” columns in an ISPF edit w/”COUNTKEY”
This utility functions as an ISPF Edit Macro
LABLPROF Save/Reset ISPF Edit Labels associated with a file
This utility functions as an ISPF Edit Macro
LIBCLEAN Compare and clean up two copies of a PDS library
This utility functions as a TSO command
LONGEST Mark the longest text line in a file w/a msg line
This utility functions as an ISPF Edit Macro
MARK Mark file lines containing string combinations
This utility functions as an ISPF Edit Macro
MISSING# Mark missing sequence numbers in file being edited
This utility functions as an ISPF Edit Macro
MOVEX Move excluded lines in file before/after another one
This utility functions as an ISPF Edit Macro
NOBLANK Delete blank lines in the file you are editing
This utility functions as an ISPF Edit Macro
ONESPACE Change mult. contig. blanks to 1 between non-blanks
This utility functions as an ISPF Edit Macro
PAGECONT Count the number of pages in your document using CC
This utility functions as an ISPF Edit Macro
PASTE The data retrieval part of the CUT and PASTE utility
This utility functions as an ISPF Edit Macro
PDSUTIL Invoke the PDS utility for the dsn you’re editing
This utility functions as an ISPF Edit Macro
PRINTIT Print datasets without having to mess with JCL
This utility functions as a TSO command
This utility functions as an ISPF Edit Macro
RENAMEME Rename the PDS MEMBER currently being edited
This utility functions as an ISPF Edit Macro
SCAN Invokes ISPF option 3.14 from anywhere
This utility functions as a TSO command
SCRATCH Generates TMS UPDATE form to scratch your tapes
This utility functions as a TSO command
SETMASK Establish a “mask” line from a data line in edit
This utility functions as an ISPF Edit Macro
SIDBYSID Reformat output from ISPF option “3.14”
This utility functions as an ISPF Edit Macro
SIGN Change the sign of a column of packed or zoned #’s
This utility functions as an ISPF Edit Macro
STAMP Mark a line w/a DATETIME, DATE, or TIME stamp
This utility functions as an ISPF Edit Macro
SWAPCOL Swap 2 columns of data in the file you are editing
This utility functions as an ISPF Edit Macro
UNARC Create a batch job to unarchive your datasets
This utility functions as a TSO command
UNSTRING Create a file containing each string from a file
This utility functions as an ISPF Edit Macro
VIEW Place cursor on dsn in edit mode & edit/browse it
This utility functions as an ISPF Edit Macro


DB2

Back to the top of the page

BINDCARD Create BIND PLAN cards and load them into ENDEVOR
This utility functions as a TSO command
COPYDB Copy ENTIRE DB2 Database From Image Copies To Target
This utility functions as a TSO command
DBSETUP Create Test DB2 Database Environments From PROD
This utility functions as a TSO command
DB2UTIL Execute a Platinum Query to view utility jobs
This utility functions as a TSO command
GENSYNS Automatically Generate Needed DB2 Synonyms
This utility functions as a TSO command
INDEXCOL Show DB2 index lengths for a given creator
This utility functions as a TSO command


ISPF

Back to the top of the page

CNVTUPCS Convert desired ISPF table fields to upper case
This utility functions as a TSO command
COMPONEN Parse a CLIST for all it’s components
This utility functions as an ISPF Edit Macro
COPYVAR Copy one ISPF variable to another
This utility functions as a TSO command
DIAGTEST Invoke ISPF option 7 from anywhere
This utility functions as a TSO command
DISVAR Display the value of a given ISPF dialog variable
This utility functions as a TSO command
DUMPTABL Dump an ISPF table to a flat file and a reload file
This utility functions as a TSO command
IDFIX Convert ISPF Profile Members From One ID To Another
This utility functions as a TSO command
ISPFTABL Load/Create ISPF tables from “flat” files
This utility functions as a TSO command
MAKEREFL Construct ISPF Reflists From Ext. Edit/Browse Panels
This utility functions as a TSO command
PROFUPDT Update an ISPF profile variable for another profile
This utility functions as a TSO command
PRSCREEN Enables screen printing in the ISPF environment
This utility functions as a TSO command
RESETPFK Restore Previous Program Function Key Definition
This utility functions as a TSO command
SAVEPROF Write your current ISPF profile to disk to save it
This utility functions as a TSO command
SETPFK Define a Program Function Key Command
This utility functions as a TSO command
SETVAR Set An ISPF Profile Variable To A Specific Value
This utility functions as a TSO command
SYNCEXT Syncronize Extended Edit/Browse File Names In ISPF
This utility functions as a TSO command
SYNCVARS Syncronizes ISPF profile variables in mult. profiles
This utility functions as a TSO command
TBINFO Gather structure/statistics/status on an ISPF table
This utility functions as a TSO command


JCL

Back to the top of the page

CA7CMD Process CA7 commands from anywhere within ISPF
This utility functions as a TSO command
This utility functions as an ISPF Edit Macro
ECSR Edit the dataset on a DSN= DD line
This utility functions as an ISPF Edit Macro
GETOUTPT Load batch job output from SDSF into a dataset
This utility functions as a TSO command
JCLBLKSZ Calculate and insert the BLKSIZE parameter in JCL
This utility functions as an ISPF Edit Macro
JCLCHECK Invoke the JCLCHEK utility for multiple members
This utility functions as a TSO command
This utility functions as an ISPF Edit Macro
JCLCLIST Convert a JCL job step to equivilent CLIST stmts.
This utility functions as an ISPF Edit Macro
JCLSCAN Scan JCL being edited for PROC expansion and errors
This utility functions as an ISPF Edit Macro
JCLSPLIT Put concatenated JCL statements on seperate lines
This utility functions as an ISPF Edit Macro
RELABEL Relabel stacked tape label numbers in a jcl member
This utility functions as an ISPF Edit Macro
SYS2JCL Convert JES Sysout Back To Executable JCL
This utility functions as an ISPF Edit Macro
TESTGDG Create a CLIST to build test GDG indexes from JCL
This utility functions as an ISPF Edit Macro
VCSR File-Aid browse datasets on a DSN= DD line
This utility functions as an ISPF Edit Macro


MISC

Back to the top of the page

CALCULAT Display the results of a quick calculation
This utility functions as a TSO command
CA11TABL Dump the contents of a CA11 ISPF results screen
This utility functions as a TSO command
DSNSTAMP https://leighweb.com/mudocclr/DSNSTAMP.HTM
This utility functions as an ISPF Edit Macro
EOL End of Line Hot Key – Move cursor to end of line
This utility functions as an ISPF Edit Macro
EXECME Invoke the file being edited as a CLIST
This utility functions as an ISPF Edit Macro
EXPERT Display specific technology experts here at UNIPAC
This utility functions as a TSO command
FINDMOD Search a DD concatenation to find a member
This utility functions as a TSO command
GDASWTCH Toggle between your personal GDA and the system GDA
This utility functions as a TSO command
GETHELP Copy TSO “HELP” into a file and edit it.
This utility functions as a TSO command
HEXADD Add 2 hex numbers & display output in hex & decimal
This utility functions as a TSO command
HEXSUB Subtract 2 hex #’s & display output in hex & decimal
This utility functions as a TSO command
HEX2DEC Convert a hexadecimal number to a decimal number
This utility functions as a TSO command
LA Show allocations in a table, process against them
This utility functions as a TSO command
PHONE Display lines in phone list file matching input
This utility functions as a TSO command
PIC Counts the length of a string between single quotes
This utility functions as an ISPF Edit Macro
PRINTQ Display the SDSF output queue for a given class
This utility functions as a TSO command
SETDEBUG Toggles the CLIST “debug” switch on and off
This utility functions as a TSO command
STATTEXT Add Weekly Status Text To An “In Progress” Member
This utility functions as a TSO command
TRAPDBUG Trap CLIST debugging messages into a file.
This utility functions as a TSO command

Back to the top of the page