Joined: 22 Apr 2006 Posts: 6254 Location: Mumbai, India
I got a similar request by one of my known as well, some time back. Though they talked about hiding IP/password from JCL itself... . If you want to hide IP and password from JCL, possibly a stupid trick can be as follows:
// SET PRM='/-l aaaaaa -p log001 126.96.36.199 updInspct.pl INSPCT'
However, using all this if we manage to "hide" this data in the source, it would be visible to anyone with access to the job queue. The ideal solution to use the NETRC facility, as Robert has said. This will allow us to use the NETRC data file which can be secured. However, that will require one to talk to site support group and have the site security person secure it as required. Depending upon where the FTP is going, the security may be fairly loose or very restrictive but that’s whatyou should be doing.