How do I use Altair SLC Communicate between PC/SAS and Altair SLC on a mainframe?
Introduction
A PC user running SAS who is trying to connect to Altair SLC on a mainframe has to use the telnet protocol. There is a section in the Altair SLC Communicate document entitled 'Authentication on z/OS using telnet'. A user creates a telnet script to launch Altair SLC on a mainframe via a CLIST and TSOWPS options of the form:
TYPE "altlib activate application " lf;
WAITFOR 'ENTER Application library', 5 seconds :fail;
TYPE "CLIST" lf;
WAITFOR "ENTER a single dataset", 5 seconds :fail;
TYPE "'WPS.V310.B31754.CLIST'" lf;
WAITFOR "READY", 5 seconds : fail;
type "TSOWPS OPTIONS('DMR WPSCOMPROTOCOL=SAS') TRACE" enter;
The relevant point here is that the WPSCOMPROTOCOL option tells the mainframe service that Altair SLC is expecting a SAS protocol from a PC otherwise it will be expecting a Altair SLC protocol.
Once the correct telnet login script has been created based on your actual system then the PC user would need to create a PC script of the form:
/*******************************************************************
Print out the HOSTNAME of the local client machine
*******************************************************************/
%PUT &SYSHOSTNAME;
filename rlink "/signon_mvs.txt";
/*******************************************************************
Define the host machine that will execute remote code
*******************************************************************/
%let host=;
/*******************************************************************
Login into the remote server and launch remote Altair SLC ready to receive
*******************************************************************/
signon host;
/*******************************************************************
SUBMIT the following code between the rsubmit/endrsubmit block to host
*******************************************************************/
rsubmit;
/*******************************************************************
Print out the HOSTNAME of the remote server mainframe machine
*******************************************************************/
%PUT &SYSHOSTNAME;
/*******************************************************************
Print out the Default System Options for the Mainframe
*******************************************************************/
PROC OPTIONS; RUN;
/*******************************************************************
Print out the License features on the mainframe
*******************************************************************/
PROC SETINIT; RUN;
/*******************************************************************
Finished sending SAS language code to the mainframe in this block
*******************************************************************/
endrsubmit;
/*******************************************************************
SIGNOFF the host platform preventing further rsubmit's
*******************************************************************/
signoff;
/*******************************************************************
Tidy up - close the rlink filename
*******************************************************************/
filename rlink clear;