|
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
begin:vcard n:Weatherly;Howard tel;pager:(800)691-7499 tel;cell:(616)260-6796 tel;fax:(616)961-7091 tel;home:(616)979-8739 tel;work:(616)961-4324 x-mozilla-html:TRUE org:Computer Task Group / Battle Creek Federal Ctr. adr:;;74 N. Washington;Battle Creek ;Michigan;49017;US version:2.1 email;internet:hweatherly@dlis.dla.mil title:Sr. Software Engineer. x-mozilla-cpt:;0 fn:Howard Weatherly end:vcard
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.