cntspawn -service spawn1 -mgmtport 5030
spawn1
, that listens for incoming server requests. The -service option can specify a defined
TCP/IP service or a numeric port value. What is used when the spawner is started determines
what will be used by the client. In the following example the-SERVICE
option is used to specify the numeric port value of the service during
spawner start-up: cntspawn -service 5020 -mgmtport 5030
filename rlink '!sasroot\connect\saslink\tcpunx.scr'; signon rmthost.5020;
options comamid=tcp; filename rlink '!sasroot\connect\saslink\tcpunx.scr'; signon rmthost.spawner;
cntspawn -install
options comamid=tcp; signon remnode user=joeblack password=_prompt_;For Windows users, if SSPI has been enabled, then you do not need to specify the user ID and password in the SIGNON statement. See SSPI for more information about SSPI.
START SPAWNERThis command activates the started task procedure. SPAWNER is the name of the service that is defined in the started task procedure.
//SPAWNER PROC PROG=CNTSPAWN, // SERVICE='spawner', // MGMTPORT=7541, // PARMFILE='SAS.SPAWNER.PARMS' //* //SPAWNER EXEC PGM&PROG,REGION=40M, // PARM='-service &SERVICE -MGMTPORT &MGMTPORT=<//DDN:PARMS' //* //STEPLIB DD DISP=SHR // DSN=<customer.high.level.pfx>.LIBRARY // DD DISP=SHR, // DSN=<customer.high.level.pfx>.LIBE // PARMS DD DISP=SHR,DSN=&PARMFILE,FREE=CLOSE //SYSPRINT DD SYSOUT=* //SYSTERM DD SYSOUT=* //SYSUDUMP DD SYSOUT=*
-netencryptalgorithm rc2 -sascmd "/usr/local/bin/spawnsas.sh" -nosasuser
spawnsas.sh
is
installed in /usr/local/bin
. The command specifies the SAS CLIST option -NOSASUSER, which specifies that a user's
SASUSER file should not be allocated. -NOSASUSER enables a client to sign on to a
server multiple times using the same user ID and password.
options netencryptalgorithm=rc2; signon rmthost.spawner user=joeblack password=born2run;