In <[EMAIL PROTECTED]>, on
01/09/2007
   at 12:09 PM, Robert Pelletier <[EMAIL PROTECTED]> said:

> Hi all. Can anyone tell me how to cause an abend when the above
>condition occurs?

GET.

Wouldn't it be better to modify your program to put out an error
message that SLFVDDIL is a mandatory DD statement?

     USING IHADCB,SLFVDDILDCB
     TM    DCBOFLGS,DCBOFOPN
     BO    OPENOK
     WTO   'Mandatory DD SLFVDDIL is missing',ROUTCDE=(11)
     ABEND 666
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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