Marco,

You did not mention the platform you are on so,
VSE/ESA - IDCAMS - CANCEL STEP or CANCEL JOB

z/OS - has a CANCEL but did NOT implement the CANCEL JOB. They claim conditional JCL is the answer - what a waste of key strokes.

This lack of function has been on my list of requests to IBM for a long time.

Open a PMR or enhancement request.

You could write a frontend program to load IDCAMS and test return codes then abend. Suspect there are several examples on the CBT TAPE.

Best of luck,
Doug Shupe

----- Original Message ----- From: "Marco Gianfranco Indaco" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Thursday, January 26, 2006 4:46 AM
Subject: Have you ever abended IDCAMS?


Hi to all.
Does somebody know if IDCAMS has(inside?) a kind of exit to call to have
abend after an error?

I mean: for error in a AMS command the maximum return code that we can have
is 16 but this error never satisfy the abnormal completition of jcl because
it intercept
System and User Abend only.

De facto, in some cases we need to avoid (i.e.e) the allocation of a set of
dataset...

Is there a solution or is not possible manage thru jcl idcams errors within
the same step?

Thanks in advance.

--
Marco Indaco
MF Consultant
Loc: Milan, Italy

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

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