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



I've got a client using an RPG II program I wrote 10 years ago to populate
an ftp script file based on a position marker. It pushes files to a Unix box
and pulls different ones back.

You're welcome to it.

Paul Nelson
Cell 708-670-6978
Office 512-392-2577
nelsonp@xxxxxxxxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Eric Lehti
Sent: Saturday, March 09, 2013 1:27 PM
To: Midrange Systems Technical Discussion
Subject: RE: FTP batch script needs file name as parameter so
differentfilescan be transmitted each time

Vernon,
Do you mean using STRQMQRY compiled with a parameter variable
(containing replacement file name) where its SQL updates source member
line that has the put statement?
The source line would PUT a different file each time.
I like that. I also appreciate your comment about doing it with RPG.


One idea is to use a place-marker for the file name, then do an SQL
REPLACE on that line - or do it in RPG native.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.