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



Booth,

What is the best, most graceful way to import PC data and then run a CLP
program?


As always, I think "best" will depend on the scenario.  The first thing to
decide is which side is controlling the data flow and initiating the CLP
program, ie, who is the client and who is the server?

I'll make the assumption that you want the iSeries to be the server and the
PC to be the client.  That is, you don't want the PC to be running a FTP or
other server to send the data.  You want the PC to be the client sending the
data to the iSeries even if you initiate that step via the iSeries using
STRPCCMD or RUNRMTCMD or whatever.

But then you have lots of criteria to consider on what is "best"

- What kind of file/data?  Can it be stored in the IFS?
- Can the PC app just place the data in the IFS using a NetServer share?
 - Does this need to run interactively or in batch?
- Which side should initiate the transfer?
- If the iSeries initiates it but is also the server, can you run an rexec
daemon on the PC?  Does the emulator used support STRPCCMD?
- Do the filename(s) vary?
- Are there multiple steps, and are they conditional based on success of a
previous step or the contents of some files?
- What user profile should be used for the transfer, and should it be
prompted or stored as an encrypted value or plain text in a script (yikes)
or ???
- Are you willing to setup exit programs to help with security issues?

There isn't a one-size-fits all answer to what it "best" or "most
graceful".  I have used various techniques effectively, depending on the
circumstances.

Doug

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.