BookmarkSubscribeRSS Feed
jakarman
Barite | Level 11

As your SAS session is needing to be segregated form the running sources possible ruining your session or each other, there are several solutions.

It is possible to run asynchronously (all jobs starting same moment) or serial (synchronously, waitfor). Serial processing will take longer but is easier to understand.

1- one of the many X-cmd usages. statement,  Piping (serial),  datastep/macro

    systask is having more options: SAS(R) 9.3 Companion for UNIX Environments

    pipe is forcing you to wait and you, advantage you can see more of the OS-messages. SAS(R) 9.3 Companion for UNIX Environments

2- usage of mp-connect

    SAS/CONNECT(R) 9.3 User's Guide (Example 5: Using MP CONNECT and the WAITFOR Statement)

    Watch the !sascmd (the exclamation is used for the OS value ot that variable) you could use the same using a x-cmd

---->-- ja karman --<-----

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 lock in 2025 pricing—just $495!

Register now

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
  • 15 replies
  • 3954 views
  • 6 likes
  • 6 in conversation