Help using Base SAS procedures

batch job or interactive job?

Reply
Regular Contributor
Posts: 222

batch job or interactive job?


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

Trusted Advisor
Posts: 1,931

Re: batch job or interactive job?

Posted in reply to Mike_Davis

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.

Ask a Question
Discussion stats
  • 1 reply
  • 236 views
  • 3 likes
  • 2 in conversation