Peter,
It appears that the consensus is that there really isn't a way to abend your
program in this case. But do you really have to?
IMHO, if the issue is that the web application sends valid, but poorly
formatted data (in your example, "86b" [where b=blank] is valid but should
have been sent as "086"), I'd be more inclined to change the COBOL program
and parse the data using "FUNCTION NUMVAL", for example. That ensures proper
numeric value recognition and processing.


Regards,
Ulrich Krueger

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Peter Ten Eyck
Sent: Tuesday, October 16, 2007 07:14
To: [email protected]
Subject: Re: COBOL move statement issue

I have had some programmers come to me with this issue. It appears that we 
have a new system (web app.) which is sending bad data in several locations 
to our mainframe (COBOL programs). The proper thing to do is to correct the 
web app.  so that it send the data correct. While we wait for that fix to
occur, I 
am looking into if there is a way without changing the COBOL code to catch 
this bad data by forcing an abend.

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