BookmarkSubscribeRSS Feed
OS2Rules
Obsidian | Level 7

Hi All:

I'm asking this question here because this seems to be the best place for it ....

We use CONNECT to establish a session with a z/OS mainframe.  The SAS licence on the mainframe is now in

"warning" mode (because they have not yet renewed) and is generating a pile of messages when the SAS

session is started.  Because of this, the "SESSION ESTABLISHED" message is not received - it is on the next

screen which is never seen - and the session fails.

Does anyone know how to update the script (TSOCMSIP.SCR) to fix this error....??

1 REPLY 1
SASKiwi
PROC Star

I suggest you refer to the CONNECT documentation for the scripting statements. I think there is a WAITFOR type statement that you will need to modify to add a condition to trap the text 'WARNING', then you can send a "clear screen" to get to the SESSION ESTABLISHED message. You can also add TRACE and ECHO statements to your script to help you figure out what changes to make. 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 819 views
  • 0 likes
  • 2 in conversation