|
What value does the debugger show for FLAG after the copy? I think that Gene's original should have worked right, I would call that a bug in the PRM/translator. Richard Jackson mailto:richardjackson@richardjackson.net http://www.richardjacksonltd.com Voice: 1 (303) 808-8058 Fax: 1 (303) 663-4325 -----Original Message----- From: owner-mi400@midrange.com [mailto:owner-mi400@midrange.com]On Behalf Of Tim McCarthy Sent: Wednesday, August 23, 2000 1:40 PM To: 'MI400@midrange.com' Subject: RE: how to create unsigned hexadecimal initial value This works: CPYBLA FLAG, X'80000000'; TrailBlazer Systems, Inc. http://www.as400ftp.com AS/400 Communications & E-Commerce Solutions Chaos, panic and disorder...my work here is done. > -----Original Message----- > From: Gene_Gaunt/ReviewWorks@reviewworks.com > [SMTP:Gene_Gaunt/ReviewWorks@reviewworks.com] > Sent: Wednesday, August 23, 2000 2:15 PM > To: mi400@midrange.com > Subject: how to create unsigned hexadecimal initial value > > The following won't compile giving error CPD6416, "Number was either > too > large or negative." > > DCL DD FLAG AUTO BIN(4) UNSGND INIT(H"80000000"); > > The following compiles okay but run-time fails with MCH1210, "Receiver > value too small to hold result." > > DCL DD FLAG AUTO BIN(4) UNSGND; > CPYNV FLAG, H"80000000"; > > > +--- > | This is the MI Programmers Mailing List! > | To submit a new message, send your mail to MI400@midrange.com. > | To subscribe to this list send email to MI400-SUB@midrange.com. > | To unsubscribe from this list send email to > MI400-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > dr2@cssas400.com > +--- +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.com +--- +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.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.