REXX can make your daily mainframe life even better. It helps you in automating the daily manual stuff you do which consumes most of your productivity. Small tools developed with REXX will be really helpful on a day to day basis.

I am planning to post the tools that I have seen/copied/written/been using. Some of them, you might already be using it. This is the first of the tools.

O – Open any mainframe element from any screen

When you are new to a company (or already part of one for some time), it will take time for you to open an element by going to 3.4 and typing in the PDS name and then opening it and then locating the member you need and then viewing it. All these steps can be performed by one single command, and the member can be in any of the PDS (COBOL, JCL, CONTROL CARD, PROC, COPYBOOK,…) that you have provide in the tool.

Please find attached the Tool. Please make changes to the PDS names at the top. You can add as many as you like. When you add more than 6, please remember to change the number from 6 in the below line.

DO I = 1 TO 6

You need to copy the TOOL to a PDS where your company usually stores the REXX execs. This PDS will be part of your DD SYSEXEC or SYSPROC (when you type TSO ISRDDN). Please ensure you do not already have an element O in it.

Once you have copied, please use the tool by typing as below in any of the screen.

TSO O ELEMENT-NAME

Please share if this REXX TOOLS series is useful to you.

Important SQL CODES and ABEND CODES
SORT JOIN – TO JOIN TWO FILES BASED ON A KEY
KNOW YOUR MAINFRAME
REXX – INITIAL SETUP
EASYTRIEVE – A023 ABEND
EASYTRIEVE – SORT and FILE COMPARISION
EASYTRIEVE – Special-name Report Procedures
EASYTRIEVE – REPORT STAEMENT
EASYTRIEVE – Sample Program – Table And Search
EASYTRIEVE – Sample Program – Display Totals and Summary
EASYTRIEVE – Sample Program – Display Employee Data
CA-Easytrieve/Plus – Basics
REXX TOOL # 02 – FSAVE – Save member opened in VIEW mode
REXX TOOL # 01 – O – Open Any Mainframe Element from any ISPF Screen
REXX – INDEX, POS, SUBSTR, COMPARE
REXX – READ THE DSN PROVIDED AS DD IN JCL
REXX – SEND MULTIPLE ARGUMENTS THROUGH JCL
REXX – HOW TO COMPILE YOUR REXX EXEC
REXX – CHANGE UPPER TO LOWER CASE
REXX – GET LAST 4 DAYS FROM GIVEN DATE
REXX – PANEL Definition
REXX – READ, CREATE AND WRITE DATA TO A DATASET
REXX TOOL TO SUBSTITUTE SYMBOLICS IN A PROC

 

Advertisements