Architecting, installing and maintaining your SAS environment

SAS Connect Issue

Reply
Contributor
Posts: 66

SAS Connect Issue

Hi,

 

I'm trying to test the SAS/Connect from SAS-EG(Off-host) to Host(mainframe system) and i'm getting error as detailes in the attachment. Can some one please have a look and suggest me.

 

Thanks in advance.

SAS Super FREQ
Posts: 299

Re: SAS Connect Issue

Posted in reply to maheshtalla

Hi,

long shot, but could you test by taking EG out of the picture and run it in BASE/Display Manager?

Same results?

 

 

Contributor
Posts: 66

Re: SAS Connect Issue

Yes, I checked and its same case

Super User
Posts: 7,832

Re: SAS Connect Issue

Posted in reply to maheshtalla

Since SAS/CONNECT uses a simple telnet connection, you can test the setup by

- inspecting the .scr file for the replies it expects and the commands it tries to execute

- logging on to the CONNECT server manually with a telnet app

 

From the log, it looks like you either supplied incorrect credentials, or your mainframe does not respond with message(s) that are expected by the .scr file, once the basic logon has worked.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Contributor
Posts: 66

Re: SAS Connect Issue

Posted in reply to KurtBremser

Hi, I'm sure that i have given correct credentials and i checked the same with other user but same error. Do you mean that .scr file i need to check on the mainframe side?

Actually i made changes accorsingly to scr file on off-host side(linux). please suggest

Super User
Posts: 3,256

Re: SAS Connect Issue

Posted in reply to maheshtalla

It is clear in your log messages that you logged onto the mainframe successfully but did not get successful TSO startup messages. This suggests that the messages the script is expecting are not the same as in your mainframe session.

 

Check what the RLINK script is expecting versus what you get in your mainframe session as you probably need to change the script to match what your session displays. 

Contributor
Posts: 66

Re: SAS Connect Issue

Hi, Sorry i didn't get you. Can you please explain in more details. Is that the Rlink path and the SCR script i need to check on the mainframe side? Please suggest

Thanks in advance.

Super User
Posts: 3,256

Re: SAS Connect Issue

Posted in reply to maheshtalla

Yes. Go through the RLINK script file until you find the error message:

 

ERROR: Did not get TSO startup messages after logon.

 

Then go back through the file until you find a statement like this:

 

waitrdy:
waitfor 'READY',
'CURRENTLY LOGGED ON' : dup_log,
'NOT VALID' : nouser,
'PASSWORD INVALID' : nopass,
'RECONNECT SUCCESS' : recon,
'ISPF/PDF' : spf,
'****' : nostrt,
'***' : more,
120 seconds : nostrt;

 

I think it is the nostrt label that is triggering your error. You need to change the WAITFOR statement so it matches the text you actually get when you logon to the mainframe manually. The script is waiting for the word READY but that may not be correct for your mainframe session. Once you have changed the script test it again. 

Trusted Advisor
Posts: 3,214

Re: SAS Connect Issue

Posted in reply to maheshtalla

Your are trying to connect to SAS in a terminal (TSO) mode. A better appraoch would be letting have the mainframe ssytemprogrammers using the SAS spawner with SAS-Connect.
A common reason for not using telnet is that the password will pass in clear text over the network showing up in network loggings.

A disadvantage of the terminal usage is that you can only be connected once. Doing this kind of stuff and needin to see what is happening you will several TSO-accounts.  he limitation is on the TSO profile datasets the must be in update mode (locks).  


Still wanting the terminal mode?

- the first stage is making a connection. On a terminal that is the VTAM host

- the next one is making connection to an "application" TSO CICS where you userid/password is entered
- Than that application is "TSO" started and for SAS/connect - telnet the initial startup must be a open line-mode command where the sas command can be entered. The normal used ISPF/PDF 3270 startup are not allowed and will crash you session.   In SDSF-logs you could see that happening. 
What TSO startup is started is controlled by you mainframe security guide (menu setting in the security administration)  and the systems programmer. That is the guy coding those kind of scripts.

Using Eguide with SAS/connect is possible but than use asynchronous mode with a related not paralel mode SAS session. It is better to not  use the synchronous mode.           

---->-- ja karman --<-----
Ask a Question
Discussion stats
  • 8 replies
  • 913 views
  • 1 like
  • 5 in conversation