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




Jim.

I kinda like your idea but i am totally a newbie to the triggers.

If you can give me a example with code, i would really appreciate that.

Thanks.
Raj.





Jim Langston <jimlangston@conexfreight.com>@midrange.com on 04/09/2001
01:14:47 PM

Please respond to RPG400-L@midrange.com

Sent by:  owner-rpg400-l@midrange.com


To:   RPG400-L@midrange.com
cc:

Subject:  Re: FTP Question, Urgent


Well, one way would be to write a RPG trigger program on the file you
are going to FTP to.  Then write the records to a data queue, and delete
them from the file.  Fairly simple and close to maintenance free.

I'm a strong believer in triggers for this type of thing.

Regards,

Jim Langston

Rich Duzenbury wrote:
>
> If I need to accept data from a remote source and do something with it
> right away, I first think about writing a socket server and client.
>
> It seems like years ago there was an API that could be called as a part
of
> client access to load (or at least read?) a data queue.  Perhaps someone
> more up on their client access could help.
>
> I don't think I would allow anyone to remote exec programs via FTP or
REXEC
> for security reasons.
>
> Regards,
> Rich
>
> At 12:03 PM 4/9/01 -0500, you wrote:
>
> >Hey Guys,
> >
> >  I need to transfer the data from a PC to AS400 Data queue using FTP.
> >
> >I was thinking to FTP the PC data to a workfile on AS400 & use an RPG
> >program to load the data queue from the workfile.
> >
> >Please let me know if you guys have any suggestions in regards to
dumping
> >the data from a PC to an AS400 data queue.
> >
> >Thanks.
> >Reddy.
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.