From: Tom Abernathy on
The syntax of the command that you tried to schedule is wrong. Somehow
it seems to think that your program name is an option.
Can you run the command that you scheduled from the command prompt?

On Jan 8, 4:40 pm, xtina.sh...(a)GMAIL.COM (Tina Shaw) wrote:
> Hi,
>
> I got the following error message in the SAS Message Log when trying to run
> a scheduled SAS task. The task failed. Can anyone tell me what the error
> message means and how to fix it so that the scheduled task can be fulfilled?
>
> Thank you in advance!
>
> Tina
>
> ERROR:   Unrecognized SAS option name, RPT.SAS
> ERROR:   Unrecognized SAS option name, SELECT
> ERROR:   (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.
> UNABLE TO INITIALIZE THE SAS KERNEL

From: Jack Hamilton on
It means that you have the strings "RPT.SAS" and "SELECT" in a place where SAS expects to see a system option name. There is an error in your configuration file(s) or in the command you are using to start SAS.


--
Jack Hamilton
jfh(a)alumni.stanford.org
Caelum non animum mutant qui trans mare currunt.

On Jan 8, 2010, at 1:40 pm, Tina Shaw wrote:

> Hi,
>
> I got the following error message in the SAS Message Log when trying to run
> a scheduled SAS task. The task failed. Can anyone tell me what the error
> message means and how to fix it so that the scheduled task can be fulfilled?
>
>
> Thank you in advance!
>
> Tina
>
> ERROR: Unrecognized SAS option name, RPT.SAS
> ERROR: Unrecognized SAS option name, SELECT
> ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.
> UNABLE TO INITIALIZE THE SAS KERNEL
From: rjf2 on
> From: Tina Shaw
> Subject: Unable to initialize the SAS Kernal
>
> Hi,
>
> I got the following error message in the SAS Message Log when
> trying to run
> a scheduled SAS task. The task failed. Can anyone tell me
> what the error
> message means and how to fix it so that the scheduled task
> can be fulfilled?
>
> Thank you in advance!
>
> Tina
>
> ERROR: Unrecognized SAS option name, RPT.SAS
> ERROR: Unrecognized SAS option name, SELECT
> ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.
> UNABLE TO INITIALIZE THE SAS KERNEL

I extrapolate from your error message that your batch file has a hyphen

command line syntax:

sas -optionname optionvalue -optionname2 value2

when sysin is in the number one position it does not have to be named

sas -center -sysin rpt

can be written shorter as:

sas rpt -center

your error message says the command-line was:

sas -rpt.sas -select

Ron Fehd the command-line maven CDC Atlanta GA USA RJF2 at cdc dot gov
From: Tina Shaw on
It works after changing the sas file name from "biweekly select rpt.sas" to
"biweeklySelectRpt.sas".

Thank you!

Tina


On 1/8/10, Jack Hamilton <jfh(a)alumni.stanford.org> wrote:
>
> It means that you have the strings "RPT.SAS" and "SELECT" in a place where
> SAS expects to see a system option name. There is an error in your
> configuration file(s) or in the command you are using to start SAS.
>
>
> --
> Jack Hamilton
> jfh(a)alumni.stanford.org
> Caelum non animum mutant qui trans mare currunt.
>
> On Jan 8, 2010, at 1:40 pm, Tina Shaw wrote:
>
> > Hi,
> >
> > I got the following error message in the SAS Message Log when trying to
> run
> > a scheduled SAS task. The task failed. Can anyone tell me what the error
> > message means and how to fix it so that the scheduled task can be
> fulfilled?
> >
> >
> > Thank you in advance!
> >
> > Tina
> >
> > ERROR: Unrecognized SAS option name, RPT.SAS
> > ERROR: Unrecognized SAS option name, SELECT
> > ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.
> > UNABLE TO INITIALIZE THE SAS KERNEL
>
>
From: Tom Abernathy on
Next time try putting the filename in quotes so that the command
processor doesn't separate it as multiple arguements.
sas "biweekly select rpt.sas"

On Jan 11, 10:05 am, xtina.sh...(a)GMAIL.COM (Tina Shaw) wrote:
> It works after changing the sas file name from "biweekly select rpt.sas" to
> "biweeklySelectRpt.sas".
>
> Thank you!
>
> Tina
>
> On 1/8/10, Jack Hamilton <j...(a)alumni.stanford.org> wrote:
>
>
>
>
>
> > It means that you have the strings "RPT.SAS" and "SELECT" in a place where
> > SAS expects to see a system option name.  There is an error in your
> > configuration file(s) or in the command you are using to start SAS.
>
> > --
> > Jack Hamilton
> > j...(a)alumni.stanford.org
> > Caelum non animum mutant qui trans mare currunt.
>
> > On Jan 8, 2010, at 1:40 pm, Tina Shaw wrote:
>
> > > Hi,
>
> > > I got the following error message in the SAS Message Log when trying to
> > run
> > > a scheduled SAS task. The task failed. Can anyone tell me what the error
> > > message means and how to fix it so that the scheduled task can be
> > fulfilled?
>
> > > Thank you in advance!
>
> > > Tina
>
> > > ERROR:   Unrecognized SAS option name, RPT.SAS
> > > ERROR:   Unrecognized SAS option name, SELECT
> > > ERROR:   (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.
> > > UNABLE TO INITIALIZE THE SAS KERNEL- Hide quoted text -
>
> - Show quoted text -