Guess what? The whole thing is designed to be handled in COBOL. Anything
that can be handled in COBOL can also be handled in RPG. Be prepared to
use lots of data structures.
Indeed, read the whole thing into a user space, then walk through it
using based data structures (similar to COBOL structures in working
storage). Each record in the spec requires its own data structure. It
should be straightforward to work out the basing pointers from the
structure lengths.
The image is a simple CCITT Group 4 compressed image. You can stuff that
directly into a PAGSEG and imbed that in an AFP printer stream.
It would actually be kind of difficult to work this in java as you'd
need to convert the byte arrays into Strings to make any sense of them
-- work directly with the EBCDIC records in RPG.
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Blalock, Bill
Sent: Tuesday, May 26, 2009 2:04 PM
To: Java Programming on and around the iSeries / AS400
Subject: Experience working with Check 21 file format X9.37
Hi all:
My manager asked me to look into importing check data and images, for
Check 21, from files in the X9.37-2003 format.
I've have some PDFs which explain the file format layout but I haven't
found any example or test files that I can compare the documentation to.
Any suggestions where I can find sample or test files? Would you happen
to have one you could share (has to be a safe, clean file - no
confidential information)?
My boss is hard core RPG'r and wants this done in RPG. Personally I
think it is more suitable for Java (or C shudders). Does anyone have
any experience either way?
Thanks
Bill Blalock
_____________
The information contained in this message is proprietary and/or
confidential. If you are not the intended recipient, please: (i) delete
the message and all copies; (ii) do not disclose, distribute or use the
message in any manner; and (iii) notify the sender immediately. In
addition, please be aware that any message addressed to our domain is
subject to archiving and review by persons other than the intended
recipient. Thank you.
_____________
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.