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 looking for is a way to pass or code in my step some exit to
> control the execution to satisfy cond of jcl... and all this using
> idcams only(I know that with a program is easy)

Back when VSAM was first introduced (~30 years!) IBM said that one of
the design points was that VSAM should not ABEND -- unlike the older
access methods.  You get a return code from every action, so that *you*
can decide what to do.  They were really proud of that, and mentioned it
prominently in the classes of the time.

I doubt that you'll get the IDCAMS developers to introduce an optional
ABEND, but maybe Mark Thomen will encourage you to submit a requirement.
(Maybe not!)  

I think you should write a wrapper.  As you said, it would be easy.
Easier than writing a requirement, anyway.

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