BookmarkSubscribeRSS Feed
DanielRingqvist
SAS Employee

Yule Tip #19 is for all the merry Enterprise Guide users. If you are an EG user and sometimes run flows with multiple data steps or SQLs, you might find this tip useful. Run the code below and you’ll see the SYSECHO messages in the data step code, displayed in EG’s Submission Status panel. Consider a program with several and longer data steps - putting in a few SYSECHOs would give you a much better idea where you are in your flow, comparing to just seeing “Running DATA step…”. Try it out.

 

data _null_; 
   sysecho "Starting a really big batch job..."; 
   s = sleep(3);  
run;

data AllCars;
   sysecho "Reading data about all sorts of cars";
   set SASHELP.CARS;
   if _N_ = 1 then s = sleep(2);
run;

data SwedishCars;
   sysecho "Reading data about Swedish cars";
   set SASHELP.CARS;
   where Make in ('Saab','Volvo');
   if _N_ = 1 then s = sleep(2);
run;

Documentation on SYSECHO:

https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsglobal/p1h1e01yyff0fon1iyh0mk51maf2...

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

Discussion stats
  • 0 replies
  • 2332 views
  • 8 likes
  • 1 in conversation