> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert Pelletier
> Sent: Tuesday, January 09, 2007 11:09 AM
> To: [email protected]
> Subject: JOB07040 IEC130I SLFVDDIL DD STATEMENT MISSING
> 
> 
>  Hi all. Can anyone tell me how to cause an abend when the above
> condition occurs? Thanks all.
> 
> 
> Have a Nice Day !
>  
> Bob Pelletier

If you mean "in general, regardless of what program is running", then I
don't know of any way. In fact, some programs are written so that some
DD statements are totally optional. So if you could "hook" open to cause
an abend due to "dd statement not found", then they would incorrectly
abend.

Now, if it is your program, then simply check to see if the DD opened
and issue an ABEND macro if it did not. I'd likely do this by checking
R15 upon return from the OPEN macro. Another way is to check some bits
in the DCB (I forget which ones off-hand).

Of course, you could "trap" the message using your automated operator
and issue a CANCEL command to the job which got the message. That is an
abend. But likely not what you would want because it is irrecoverable.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

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