Matt and All
Here is what I have in the Hex Display of the file
KADDRESS K Address 1800 NORTH MASON ROADKATY, TX
77
FFFF4DDDEC4DCEDD4DDCC02DCEE64EE44FF
180005693804126509614D52138B0370077
As you can see after the 1800 NORTH MASON ROAD I have the x(0D25) that
when I display the record I would like to be able to see
1800 NORTH MASON
ROAD
KATY, TX 77449
I also have this in Order Notes that all run together.
The file was originally an Access Database that got exported to Excel as
a xls file. Then I transferred the xls using the Excel transfer to the
iSeries.
We are converting an Access based home grown Purchasing System to the
iSeries and all of the existing data has to be in the new iSeries
databases with the same functionality as the Access system. Which means
that the PO Notes and Addresses have to come across as is.
Bob
IT Guy
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Haas, Matt (CL Tech
Sv)
Sent: Monday, November 12, 2007 5:39 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: How to convert or edit a character in a field
Bob,
0D25 is an EBCDIC carriage return and a line feed (at least for CCSID
37). If you're trying to make it wrap when it's displayed on a screen or
report, you'll need to handle that yourself. We can get special
instructions from customers on web orders with them in it and they way
we handle it is to break up the lines and put it into an order notes
file (this is part of JDE). When we encounter a cr/lf, we write a blank
record to the file.
Matt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bob Anderson
Sent: Monday, November 12, 2007 4:53 PM
To: RPG programming on the AS400 / iSeries
Subject: How to convert or edit a character in a field
Good Afternoon,
I have loaded data from Excel to my iSeries and some of the data
has CRLF characters in it which shows up as x(0D25) is there a way to
parse this to an iSeries carriage return programmatically
Thanks
Bob Anderson
IT Guy
Kent Sporting Goods
433 Park Ave. S
New London OH 44851
419-929-7021 x315
email: banderson@xxxxxxxxxxxxxxxxxxx
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
Please note: Thomson Learning has changed its name to Cengage Learning.
Visit www.cengage.com for more information.
Cengage Learning - delivering results through engagement.
As an Amazon Associate we earn from qualifying purchases.