BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ceer
Calcite | Level 5

Hi all,

 

I have a Java program that connects to a SAS ObjectServer and runs SAS jobs using a String that's submitted via the SASLanguageService. For our project, some parts of the job will be tracked using the sysecho <string> statement, and it sends the specified String to the IOM Client. 

 

My question is, how do I retrieve that String? I'm not sure which interface to use. I've tried using an implementation of the sasLanguage events listener, but it doesn't catch the SYSECHO string. 

 

Thanks!

 

Edit: Figured it out... ILanguageEvents_1_1 interface has the additional globalStatementComplete event handlers that catch it

1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1
ChrisNZ
Tourmaline | Level 20

Well done. Mark as solved please.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 958 views
  • 2 likes
  • 2 in conversation