Yes, I know well how to call RPG IV Procedures. However in my current
working environment I have to contend with an older variety of procedures -
S/36 procedures! (Lucky me.)
For those of you who may be interested, I ended up creating a Stream file
from a Native file by doing the following in a small CLP:
1. Create a flatfile in QTEMP, specifying the RCDLEN I need (i.e. no DDS).
2. CPYF from my Native EDI file to the flatfile, specifying FMTOPT(*NOCHK)
3. CPYTOSTMF from the flatfile to an IFS Path, specifying
STMFCODPAG(*PCASCII) and ENDLINFMT(*FIXED)
That did it. Thanks to everyone for the ideas. And I will look at Scott's
tutorial at a later date.
Bill
-----Original Message-----
From: Wilt, Charles [
mailto:WiltC@xxxxxxxxxx]
Sent: Wednesday, July 11, 2007 9:20 AM
To: Midrange Systems Technical Discussion
Subject: RE: EDI and Inovis from Library Data
Bill,
I 100% guarantee that you'll spend much more time screwing around with
CPYTOIMPF and/or CPYTOSTMF than
you would learning how to use the IFS API's.
It's just not that hard, assuming you already know how to call RPG IV
procedures. Scott's tutorial has
prototypes and service programs you can make use of.
HTH,
Charles
As an Amazon Associate we earn from qualifying purchases.