On Wed, 20 May 2009 14:51:10 +0100, Jim McAlpine <jim.mcalp...@gmail.com> wrote:
>We have a REXX program which is called from COBOL in batch in which we need >to check for the existence of a file. Obviously there is no TSO environment >here so no commands like LISTDS. Is there anyway to acheive this without >the TSO environment. I don't think anyone else has mentioned it, so I will. You could run IKJEFT01 in your batch job and have it CALL your COBOL program. Then, when your program invokes the REXX exec it would have the TSO facilities available to it. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html