BookmarkSubscribeRSS Feed
Mike_Davis
Fluorite | Level 6


Hello guys!

Could someone tell me what is the difference between batch job and interactive job?

and what kind of job is this:

If In one SAS program,there were many data steps and proc sql...   some of them use rsubmit to run SAS procedures in a remote server(Unix) ,,,and also in the same SAS program some of them are procedures run in my local machine(Windows).

Here is my example(the code will be executed in SAS Base 9 on my Windows XP laptop,and the romote server is UNIX):

Program name: OneExample

/*  program start  */

data one;

set sashelp.class;

run;

Rsubmit;

data two;

......

run;

proc sql ;

create table as

.....

;

quit;

data three;

...

run;

Endrsubmit;

data four;

set one;

run;

/*  end of program    */

Thanks!

Mike

1 REPLY 1
PaigeMiller
Diamond | Level 26

Maybe I am misunderstanding you, but the usual meanings of the terms batch and interactive are unrelated to what program code you have.

Batch jobs are when you execute some SAS code from an operating system command. In a batch job, you wouldn't see the usual SAS windows. Interactive means that you have launched the SAS application, you have some SAS code in the program editor (or enhanced editor), and you submit the code via F3 or the submit icon.

--
Paige Miller

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
  • 1 reply
  • 812 views
  • 3 likes
  • 2 in conversation