Neil's Computer Page

Rexx FAQ for Rexx on OS/390 Mainframes, TSO, ISPF, etc.
This FAQ covers questions from the TSO-REXX list, for questions about Rexx in general, see the general Rexx FAQ.

Rexx Style Guide More from the TSO-REXX list.

Rexx Source Samples Description
CSILCAT.REXX A function based upon IBMs samples to retrieve catalog data using the Catalog Search Interface (CSI) module IGGCSI00. You specify the fields (VOLSER LRECL MGMTCLAS, etc) you want to retreive. See the bottom of the code for details.
DTLCOMP.REXX

DTLPROF.TXT

How to compile multiple DTL sources without using the ISPDTLC ISPF panel.
FILE.REXX Yet another exec to outrap the output of a TSO command output into a dynamically allocated file.
MAXMIN.REXX For when MAX() and MIN() are not quite good enough.
QUICKSRT.REXX An example Quicksort routine for you to read AND IMPROVE UPON!
REDISP.REXX For the retentive, a simple ISPF macro to move DISP=SHR before the DSN= in JCL. Then the dataset names will be all alligned. Lovely.
TBSHOW.REXX Investigate the structure and contents of an ISPF table. The table name is hardcoded in the exec, cos I only use it occasionally.
TBDEMO.REXX

TBDEMO.DTL

Unfinished example dialog showing the basics for handling ISPF tables using TBDISP
CPUTEST.REXX Example of stems vs. string functions using simple CPU usage monitoring code SYSVAR('SYSCPU')
RXGDGV.REXX Returns information on Generation Data Groups. Its coding is terse and possibly a little difficult to read as it is intended for use as an external function.
TRANSTR.REXX Translate strings withing a sting into other strings. An equivalent of TRANSLATE() for string translation.
DSBROWSE.REXX A sample Rexx CGI exec to browse datasets via a web browser. Its really old, probably superceeded by features in web servers, and may not work anymore.
TBDEMO.REXX

TBDEMO.DTL

Very simple demo of a dynamic area

Does the world need another Tic Tac Toe applet. I happen to think it does.

Based on the TicTacToe applet, Im constructing a Reversi applet. Dont expect much from it yet.

Digital Camera Picture Management Using Rexx and ImageMagick

These Execs are a bit rough and ready, and have my home PC directories and other bits hardcoded within. But I have an Icon on my desktop that I click on, and it runs picunload.rexx to do all the renaming, data extraction and index web page in one hit. I also use them to create the pages found in the pit.

picgetinfo.rexx Extract the picture information from the Nikon info.txt file.
picmktext.rexx Create/update a .txt file to act as metedata for the jpeg file. I could use an XML file or SQL interface instead, but this format is simple.
picgettext.rexx Given a jpeg filename, Find the text file and read selected fields from it.
picunload.rexx Copy everything off of the cardreader, and run the prepareation and index generator execs, then launch konquerer. The source and destination pathnames are all hardcoded at the moment.
picprepare.rexx Rename jpeg files to include data/time, and create the text metadata files.
picmkwebpage.rexx Create/refresh thumbnails as needed, then create an index webpage using data from the text meteadata files.
picmkthumb.rexx Create a thumbnail for this jpeg.
picconvert.rexx Generic shell around Imagemagick, leaving a copy of the original in /tmp/piccopy. You can set this up from within KDE to quickly resize/rotate images for emailing. I generally use The Gimp for that, though.
getconfig.rexx What I might create one day if I feel like its worth it.