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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 798 views
  • 3 likes
  • 2 in conversation