Previous Topic: Connect:Direct CA Spool JCLNext Topic: To Transfer Print Files


NETRC Data Set

The NETRC data set provides you with an alternative to specifying your user_id and password as Connect:Direct parameters when you want to use Connect:Direct to transfer a file to a remote Connect:Direct server.

The supplied CBQ4PARM(IQNETRC) sample contains the following sample definitions:

*                                                            
*  Common FTP, CA XCOM and Connect:Direct userid/password file
*                                                            
machine ftp.com			login userid1 password pass1 
machine 111.222.33.44		login uesrid2 password pass2 
machine XCOM.IPNAME.com		login uesrid3 password pass3 
machine XCOMLUx			login uesrid4 password pass4 
machine XCOMGROUPx			login uesrid5 password pass5 
machine ConnectDirect		login uesrid6 password pass6 

If no USERID or PASSWORD parameters are specified on a Connect:Direct request, the PNODE - local node parameter is looked up in the NETRC data set. If it is found, the corresponding login userid and password are used.

If the USERID is specified without a PASSWORD, the PNODE - local node parameter and the USERID are looked up in the NETRC data set. If they are found, the corresponding password is used.

If you use the NETRC data set, secure it against unauthorized read and write access.