BookmarkSubscribeRSS Feed
4john
Calcite | Level 5
I am working in a unix sas environment.I do batch submissions.But any ideas regarding time scheduling a batch submission would be great.

os : solaris5
shell : korn shell
sas : v9

Thanks
4 REPLIES 4
deleted_user
Not applicable
you can use cron scheduler
LinusH
Tourmaline | Level 20
If you are at fairly large site, chance is quite high that there exists a 3rd party scheduling tool.
Or, if you by any chance are licensing DI Server, you could maybe use Platform Job Scheduler.
/Linus
Data never sleeps
Hima
Obsidian | Level 7

Crontab can be used to schedule jobs in Unix via Unix SAS. To access crontab login to Unix and type crontab -e (Edit mode). This is a VI Editor. Press Esc Key and I for insert. Press Esc Key and x to delete.

Syntax for crontab is

*    *    *    *    *  command to be executed

┬    ┬    ┬    ┬    ┬

│    │    │    │    │

│    │    │    │    │

│    │    │    │    └───── day of week (0 - 6) (Sunday=0 )

│    │    │    └────────── month (1 - 12)

│    │    └─────────────── day of month (1 - 31)

│    └──────────────────── hour (0 - 23)

└───────────────────────── min (0 - 59)

Example

00 08 * * 0-6 /home/test.ksh > /home.test.log

This would run the report every day at 8 AM. Make sure you invoke the sas from shell script. You would need some scripting knowledge to do this.

LinusH
Tourmaline | Level 20

If you are licensing any part of SAS Intelligence Platform (that, do you have a metadata server), there is a GUI interface to cron in the Scheduling Server plugin in the SAS Management Console.

/Linus

Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 5288 views
  • 0 likes
  • 4 in conversation