On Thu, 2006-01-26 at 14:23 +0100, R.S. wrote:
> Answer to message body: In fact I don't understand your intention. What 
> do you want to get ? I believe, that IDCAMS abend is not the goal,

I seem to recall that e.g. SORT and FDR both have options to ABEND in
lieu of returning a severe RC.  Marco probably wishes for something
similar in IDCAMS.

This can be useful behavior if you are lazy and don't want to code COND=
in all your JCL.  Maybe a wrapper program will do the trick:

ATTACHX EP=IDCAMS,ECB=ATCHECB, ...
ST    R1,ATCHTCB
WAIT  ECB=ATCHECB
LA    R1,ATCHTCB
DETACH (1)                                                     
CLC   ATCHECB+1(3),=XL3'00'  Subtask terminated well?          
JNE   ABEND                  No, take action (ABEND?)

-- 
David Andrews
A. Duda and Sons, Inc.
[EMAIL PROTECTED]

----------------------------------------------------------------------
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