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
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.