On 2015-08-12, at 08:07, Kurt Quackenbush wrote:

> On 8/12/2015 4:14 AM, Beesley, Paul wrote:
>> GIMUNZIP checks whether the dataset already exists. If it does, it
>> reuses it. If not, it creates it.
> 
> Yup, what he said.
>  
Hmmm...  Not so fast!  I get the message when I specify replace="NO".
In that case, it's just silly to check by attempting to allocate OLD.

Pseudocode (inferred)?:

    allocate (OLD)
    if RC==0
        exit 12  # data set exists
    else
        allocate (NEW)
    fi

Nah.

Thanks,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to