|
Perhaps Mr. Prowak wants the message back to the Terminal of the Jobs originater?! How about a parameter supplied in the submitting program that tells the Batch-Job, to which terminal the message should be sent back? But there is an other hint, you should keep in mind: I hope you do all the possible plausibility checking in the calling program, and Mr. Prowak's example is just a example and not the real program! > -----Ursprüngliche Nachricht----- > Von: Howard Weatherly [SMTP:hweatherly@dlis.dla.mil] > Gesendet am: Mittwoch, 10. Februar 1999 16:15 > An: MIDRANGE-L@midrange.com > Betreff: Re: sending an error message back to a user > > You could use QCMDEXC from your batch job, CL? HLL? > e.g. > > >From COBOL > 1 WS-MSG1 Pic X(57) Value > "SNDMSG MSG('CICS Test is Available ') TOMSGQ(*SYSOPR)". > > Call "QCMDEXC" Using WS-MSG1 WS-CMD-LEN > > David Prowak wrote: > > > Hi, > > I need to send an error message back to a user from a batch job. > > The error would be the result of an invalid date being entered and > > sent to the batch job. > > > > (I know, I know.... The way to handle this is by checking the data > > as it is entered, not after!! I am creating a program that will > create a > > coupon > > book for payments with the due dates coming from a system that has > > been in production for years.) > > > > So, what are my options towards sending back a message saying: > > "Coupon book not created - invalid due date entered" > > > > Thanks for your advice. > > Dave > > > > > > +--- > > | This is the Midrange System Mailing List! > > | To submit a new message, send your mail to > MIDRANGE-L@midrange.com. > > | To subscribe to this list send email to > MIDRANGE-L-SUB@midrange.com. > > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > > | Questions should be directed to the list owner/operator: > david@midrange.com > > +--- > > -- > ____________________________________________________________ > > Howard Weatherly > > (616)961-4324 > > hweatherly@dlis.dla.mil > hweath@ibm.net > howard_weatherly@ctg.com > << Datei: Card for Howard Weatherly >> +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.