The STAT6 CLIST script and its associated JCL scripts must be
translated to Unix shell scripts by hand. The translation is fairly
obvious, but two points should be made.
First of all, Unix shell language has no GOTO statement, so
it was necessary to slightly restructure the STAT6 program
into functions. This had a secondary benefit of cleaning up some of
the "spaghetti logic".
Secondly, Unix has no ALLOC statement. The closest
equivalent to the function of an ALLOC statement in Unix is
to set and export an environmental variable containing a file
name.