I've got basically the same thing with a HBDELETE first. I call it
HBEGONE.....
________________________________
Ages ago, before TSO/IDCAMS was so nearly smart, I coded in
Rexx (IIRC):
address 'TSO'
'HDELETE ''DATA.SET.NAME'' WAIT'
if RC<>0 then
'DELETE ''DATA.SET.NAME'''
Crude, but effective. Why do some sysadmins detest
programmers who do what's expedient?
-- 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