1. Install the SPAWNER service:
CD / D "SASROOT DIR" spawner -c tcp -security -install
If you change the 23rd port of the default listener, you must define a service port, such as MyportSpawner -c tcp -security -service myport -install
2. Interactive spawner:
Spawner -c tcp -security
3. Add a user who is used for Signon on Windows, which must have "allowed by approved job login" permission
4. If the Signon is 23, the% let tcpsec = _prompt_; or% let tcpsec = user.pass; signon hostname
If not 23,% let tcpsec = _prompt_; or% let tcpsec = user.pass; signon hostname.myport;
5. Submit a statement to the remote SAS To use rsubmit, such as: Rsubmit; libName CRLIBM "& LibPath"; endrsubmit;
6. To use the distal library to the local, you can use the following command libname local library name server = server name slibref = remote library name; 7. Turn off the remote connection, use the following command Signoff Hostname;