How about a udc to replace eoj that looks like:

eoj
tell mike.hornsby eoj
***

You could embelish this with HPCPUSECS,HPUSER ... but I'll leave that up to
others

Mike Hornsby
[log in to unmask]


-----Original Message-----
From: Shah, Roshan (Windsor, HQ) <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Thursday, October 08, 1998 3:50 PM
Subject: LOGOUT UDC - EOJ


>Is there anyway we can have LOGOFF UDC kind of thing ??
>
>Take for example...
>
>CASE 1 : Normal Run
>
>!JOB blah, a.b
>.....
>.....
>!EOJ
>
>
>This is a normal run...
>
>I want it to be replaced by
>
>!JOB blah, a.b
>.....
>!TELL junk  "JOB DONE"
>!EOJ
>
>
>CASE 2 : Multiple Jobs
>
>!JOB blah, a.b
>....
>STREAM, *
>*JOB blah1,a.b
>....
>*EOJ
>....
>...
>STREAM blah2.jcl
>....
>....
>
>!EOJ
>
>
>How do I have a TELL ?? I have many files and do not want to do it
>manually. Secondly we have many COBOL Programs which builds JCL Strings
>and when run CREATES and STREAMS a JOB.
>
>Is there any way by which whenever there is EOJ, I can make it ....
>
>!TELL someone JOB ENDED
>!EOJ
>
>
>i.e replace EOJ with two lines everytime....
>
>Roshan