× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The source file can be read or modified like any other file, by relative record number. Some mail programs will insist in 80 characters and reject bigger records, and that will make your life easier.
You can compile your program using an 80 char file, and set levelchk *no to process longer files.


Raul

Deese, Cynthia wrote:

Hi,

I appreciate your assistance.  What I am trying to do, specifically, is that
I have a source file member called EDIEMAIL of type TXT in a source file
called QTXTSRC that will, ultimately, be used as the body of an email.  I am
receiving an inbound EDI transaction from our translator from which I am
trying to insert certain fields from the EDI document into the source file
member.  I am just confused as to how you work with a source file member
over just a physical file.  I can see the similarities as the physical
source file member has three fields, but since it is not a compiled object I
am a little confused how I would read, write, update fields as well as
determine the size of the file, ie 80, 112, etc.  I think I would use a
QCMDCMD or QCMDEXC to determine that, but I have only worked with physical
and logical files in rpg and cl.

Again, thank you for any assistance you may provide.

Cyndy Deese


-----Original Message-----
From: Vinayak Toal [mailto:vinayak_toal@xxxxxxxxxxxxx]
Sent: Friday, June 20, 2003 1:02 AM
To: Cynthia Deese (E-mail)
Subject: Modify source physical file member in RPG


Hi Deese, Can you elaborate in detail exactly what you want to do?

Thanks and Regards,

Vinayak Toal
Project Leader - JDE World Soft
SYSTIME Computers Ltd.
Tel:+91-22-28290051
Fax:+91-22-28290126
web www.systime.net

_______________________________________________
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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.