|
On Dec 11, 2021, at 8:11 AM, Gad Miron <gadmiron@xxxxxxxxx> wrote:
Late to the party but here is my 2 cnts
I use QMGTOOLS/STRSFTP in several CLP PGMs
to automate download/Upload of files.
As mentioned, you can specify a password when using STRSFTP
I hard-code this password in the CLP program and use the following steps
to keep the PW hidden:
a. Code a DCLPRCOPT ALWRTVSRC(*NO) USRPRF(*OWNER)
AUT(*USE) DBGENCKEY(XXXX) in the source.
This prevents RTVCLSRC and debugging of the program object
b. delete the spool file after creating the program
c. Authorize access to the source code to CIA chief only
HTH
Gad
As an Amazon Associate we earn from qualifying purchases.
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.