On Wed, 20 May 2009 14:51:10 +0100, Jim McAlpine 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.
>
ALLOCate it with BPXWDYN and check the return code/messages?

What do you intend to do if:

o It exists?

o It doesn't exist?

respectively

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to