|
-----Original Message-----[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
From: rpg400-l-bounces@xxxxxxxxxxxx
On Behalf Of Bob Andersonas
Sent: Tuesday, November 13, 2007 6:56 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: How to convert or edit a character in a field
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
a xls file. Then I transferred the xls using the Excel transfer to themeans
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
that the PO Notes and Addresses have to come across as is.Tech
Bob
IT Guy
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Haas, Matt (CL
Sv)or
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
report, you'll need to handle that yourself. We can get specialblank
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
record to the file.data
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
has CRLF characters in it which shows up as x(0D25) is there a way toLearning.
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
Visit www.cengage.com for more information.list
Cengage Learning - delivering results through engagement.
--
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.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
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.
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.