How about,

Bolnumeric = %int(%trim(bolalpha));


----- Original Message -----
From: EKovarik
Sent: 10/01/2009 04:28 PM EST
To: rpg400-l@xxxxxxxxxxxx
Subject: RPGLE string to number



I have a bill of lading number left justified in a 20 byte alphanumeric field.

Need to extract just the bill of lading number and put into a 20 byte numeric field for chaining purpose.

Does anyone have an example of how to do this?

Thanks,
Ed
<><><><><><><><><><><><><><>
Ed Kovarik
ETHEX, Ther-Rx, and PDI Companies
EDI Coordinator
314-645-6600 ext. 3352
314-646-3707 fax
ekovarik@xxxxxxxx<mailto:ekovarik@xxxxxxxx>
<><><><><><><><><><><><><><>

From: Kovarik, Ed
Sent: Thursday, October 01, 2009 10:36 AM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: Attach two reports as one for one email attachment

RPGLE Support Request,

I have opened a print file and written content of new report 1 my RPGLE program.

User request I generate a copy of shipment pack list report 2 and also attach to same email.

Problem is my email command on iSeries allows for one attachment,
thus can I merge open spool file report 1 and attach report 2 spool file?
Thanks,
Ed
<><><><><><><><><><><><><><>
Ed Kovarik
ETHEX, Ther-Rx, and PDI Companies
EDI Coordinator
314-645-6600 ext. 3352
314-646-3707 fax
ekovarik@xxxxxxxx<mailto:ekovarik@xxxxxxxx>
<><><><><><><><><><><><><><>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.