Error Mch1202
Contents |
? Ask a question, help others, and get answers from the community Discussions Start a thread and discuss today's topics with top experts Blogs Read the latest tech blogs written by experienced community members What is and Why am I getting a MCH1202 error message on a field compare decimal data error in as400 statement? nitzinger 385 pts. Tags: Thanks! We'll email youwhen relevant content isadded and updated. Following Follow mch1202 error in cobol AS/400 errors Thanks! We'll email youwhen relevant content isadded and updated. Following Follow MCH1202 error message From an externally define file I bring in an mch1202 decimal data error S9(7) comp-3 value that is a date. In the program I call the date function to get the current date. Move it to a S9(7) comp-3 field and then compare them to be equal. EVALUATE TRUE WHEN PACKED-DATE = DHIVNB
Decimal Data Error In Cobol
do... Bang I get hit with the MCH1202 error message which you find little to no info about. Doesn't AS/400 support an error message list somewhere with some detail as to how to solve this problem? For as simple as this looks there has to be an easy solution. You have to make this kind of comparison all of the time. So if anyone can help I sure would appreciate it. Asked: August 5, 20095:33 PM Last updated: August 5, 200910:31 PM Related Questions Run time Error in CL Program ILE RPG call to ILE COBOL passing large array AS/400 error DLTOLDSPLF Folders on AS/400 Answer Wiki Last updated: August 5, 200910:31 PM GMT Teandy5,860 pts. History Contributors Ordered by most recent Teandy5,860 pts. WilsonAlano2,710 pts. Thanks. We'll let you know when a new response is added. Hi, To see the text associated with an OS message just do dspmsgd mch1202 In your case it seems that one of those fields have invalid packed data in it. Regards, Wilson ----------------------------------------- When you get the error, arrow up to it and hit F1. This will give you the error description. Then hit F10 to see any previous errors. I can't remember if it is the first or second screen that gives you the line number of your program where the error occurs. ///////////////////////////////////////// To see the line number and program name it's necessary to hit F9 after F1. Wilson Hi, To see the text associated with an OS message just do dspmsgd mch1202 In your case it seems that one of those fields have invalid packed data in it. Regards, Wilson -------------------------------------------------------------- When you get the error, arrow up to it and hit F1. This will give you the error description. Then hit F10 to see any previous errors. I can't remember if it is the first or second screen that gives you the line number of your program where the error occurs. /////////////////////////////////////
make sure that the spelling is correct.Note: Most addresses are case sensitive. For information on IBM offerings, start from the IBM homepage. For information on printing systems, start from the Infoprint Solutions http://itknowledgeexchange.techtarget.com/itanswers/what-is-and-why-am-i-getting-a-mch1202-error-message-on-a-field-compare-statement/ Company homepage.* For information on ThinkPad notebooks, ThinkCentre desktops and other PC products, start from the Lenovo homepage.* Search the IBM Web site. Get assistance This option lets you send an information request and tell us http://www.ibm.com/support/docview.wss?crawler=1&uid=nas8N1014802 about a broken link. You will receive an e-mail from us to help you find what you need. Requested uid value cannot be empty * Links notated by a grey asterisk (*) will take you to web sites for the following companies that sell former IBM products. Printing systems are now products of InfoPrint Solutions Company. ThinkPad notebooks, ThinkCentre™ desktops and other PC products are now products of Lenovo. Self-help resources Locate your IBM Easy Access site Support & downloads Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility
listingCPDView message listingCPEView message decimal data error listingCPFView message listingCPGView message listingCPIView message listingCPPView message listingCPXView message listingKBDView message listingKEYView message listingMCHView message listingOPTView message listingQWMView message listing home © 2005-2016 www.iSeriesWorld.net terms & conditions | privacy policy e-mail : webmaster@iSeriesWorld.net