I don't think QM supports edit words. Been decades though...
ftp://ftp.www.ibm.com/systems/power/docs/systemi/v5r4/cs_CZ/sc415212.pdf
You may be able to define the field as an expression
Name Expression
PartNoC values left(digits(dec(023456789, 9, 0)), 7) concat '-' concat right(digits(dec(023456789, 9, 0)), 2);
Replace dec(023456789, 9, 0) with PartNo.
Digits is preferred over char because of the possibility of leading zeros. Unless, of course, you want zero suppression. Then you run into the whole left(..., 7) issue.
Rob Berendt
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.