|
Hello Jim, Second try -- I hate it when the mail program haemorrhages. The X indicates the parameter is in hex rather than character. The F indicates the sign for a positive packed decimal. If zoned values were being passed they could be passed as character literals but hex will work -- the sign is then in the second last position e.g., X'F0F0F0F6F5'. Hex is being used to avoid the numeric literals being expanded to 15,5 numeric values which is what the OS will do if you aren't careful. The real problem has already been answered which is that the last two parameters are also numeric and need to be properly formatted as numeric values i.e., they need a sign and the correct number of digits. X'19' and X'19980102' (or whatever the values were) are not properly formatted numbers. Regards, Simon Coulter. //---------------------------------------------------------- // FlyByNight Software AS/400 Technical Specialists // Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 // Fax: +61 3 9419 0175 E-mail: shc@flybynight.com.au // // Windoze should not be open at Warp speed. +--- | 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-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.