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 an exception about the usage of jcl
disposition. ;-)
I'm not quite sure what you are asking.
As far as I know, IDCAMS does not ABEND when failures occur, it only
passes a return code. There is nothing in the IDCAMS manual which talks
about abends. So it is true that in the step JCL for IDCAMS, the third
parm of DISP will never be invoked.
Is this an exception? There are probably a lot of programs which do not
intentionally ABEND when they detect an error.
As other messages suggested, it is pretty trivial to write a front-end
program which invokes IDCAMS (or any specified program), tests its
return code and ABENDs if non-zero.
--
Bruce A. Black
Senior Software Developer for FDR
Innovation Data Processing 973-890-7300
personal: [EMAIL PROTECTED]
sales info: [EMAIL PROTECTED]
tech support: [EMAIL PROTECTED]
web: www.innovationdp.fdr.com
----------------------------------------------------------------------
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