Re: Have you ever abended IDCAMS?

2006-02-11 Thread Douglas Shupe
] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU 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

Have you ever abended IDCAMS?

2006-01-26 Thread Marco Gianfranco Indaco
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

Re: Have you ever abended IDCAMS?

2006-01-26 Thread R.S.
Answer to the topic question: YES. 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, rather a way to achive the goal. Maybe there's another way. -- Radoslaw Skorupka Lodz, Poland Marco Gianfranco Indaco

Re: Have you ever abended IDCAMS?

2006-01-26 Thread David Andrews
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

Have you ever abended IDCAMS?

2006-01-26 Thread Phil Payne
If I understand the question correctly - yes, and not just IDCAMS. We're going back several decades here, but at one time quite a few programmes (SORT was one) used to signifiy any failure (even fatal I/O errors) with RC=16 rather than an ABEND. I think just about every shop either wrote or

Re: Have you ever abended IDCAMS?

2006-01-26 Thread Marco Gianfranco Indaco
Thanks for your reply. I'm not so lazy.. :-) This is not a way to avoid cond in some steps... I try to explain better the concept and apologize if my english is so complicate to understand. In Icetool, for example, we can code ABEND to terminate abnormally the execution of a step(using in this

Re: Have you ever abended IDCAMS?

2006-01-26 Thread R.S.
Marco Gianfranco Indaco wrote: Thanks for your reply. I'm not so lazy.. :-) This is not a way to avoid cond in some steps... I try to explain better the concept and apologize if my english is so complicate to understand. In Icetool, for example, we can code ABEND to terminate abnormally the

Re: Have you ever abended IDCAMS?

2006-01-26 Thread Marco Gianfranco Indaco
Hi Mr Lodz, you are right but it's a trick. My question regard mainly the association of 3th dispostion and IDCAMS... I'd like to know if it's true that is unuseful. If we cannot use an exit is true else is false...(so... how?) We can write program or use IEFBR14(as you suggest) to solve this

Re: Have you ever abended IDCAMS?

2006-01-26 Thread David Andrews
On Thu, 2006-01-26 at 16:21 +0100, Marco Gianfranco Indaco wrote: I'm not so lazy.. :-) This is not a way to avoid cond in some steps... Sure, but same idea. You want to avoid having to code extra JCL to test the return code from IDCAMS, and conditionally delete your dataset. What I'm

Re: Have you ever abended IDCAMS?

2006-01-26 Thread Marco Gianfranco Indaco
Many thanks Mr Andrews... Thanks for this piece of history :-) that I didn't know... I don't want to submit a requirement other than this that I repeat... is useful but mainly fun because using sort I solved this problem... Usually for deldef or other AMS usage I use cond like the great part of

Re: Have you ever abended IDCAMS?

2006-01-26 Thread Bruce Black
My question regard mainly the association of 3th dispostion and IDCAMS... I'd like to know if it's true that is unuseful. If we cannot use an exit is true else is false...(so... how?) We can write program or use IEFBR14(as you suggest) to solve this problem but I'm interested to know if this is

Re: Have you ever abended IDCAMS?

2006-01-26 Thread Capomaestro
Could the modal commands (IF-THE-ELSE; DO-END; SET MAXCC/LASTCC; CANCEL) be of any use? IIRC the max CC from IDCAMS is 16. Testing the RC in the JCL for some strange value (an odd integer?) could then bypass steps of flush the JOB.