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



If you are willing to make a big change: use HTTPAPI, your RPG program can read the page from the server and do anything you want with it. You can save the complete page, or you can select some parts to store.

Mike Wills wrote:

We have a daily process that will be pulling data from our internet
server and putting it on the i into a work file. Because I am not
creative and am copying what we have done in the past, I create a file
called TRANYYMMDD (with YYMMDD in the appropriate date) one for each
day. I am doing this via CREATE TABLE in the .NET program.

On the i side, I do a DSPFD to get a list of the files, then use RPG
to read the created file. I want to do a OVRDBF on each file to
process it. (Boy this sounds more complicated than it should be).
Anyway, I am getting a "RNQ1011 Undefined record type is found in file
TRANYYMMDD" How do I get around this?

OVRDBF Statement:
OVRDBF FILE(TRANYYMMDD) TOFILE(&FILENAME) MBR(*FIRST) LVLCHK(*NO)
OVRSCOPE(*JOB)

Otherwise, how would you do this? I think the idea of the original
setup was to separate the daily transactions easily.

--
Mike Wills
http://mikewills.me



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.