From: Ya Huang on
Do you have another SAS session open?
If so, close it, you'll be fine.

On Tue, 23 Feb 2010 11:50:08 -0800, SAS_learner <proccontents(a)GMAIL.COM>
wrote:

>Hello all,
>
>I am running a program which has Proc Template inside the Program Code. I
>ran this for one study and it was fine. But for the study I am working
right
>now It is complaining , I know it is hard to tell exactly what it is as
it
>is Study specific but is there anything Obvious thing from the log code
>below that I need to check ??
>
>
>MPRINT(CRF_TOC): proc template;
>MPRINT(CRF_TOC): path sasuser.templat(update) sashelp.tmplmst(read);
>MPRINT(CRF_TOC): define style styles.crf_rtf;
>MPRINT(CRF_TOC): parent=styles.rtf;
>MPRINT(CRF_TOC): style systemtitle from TitlesandFooters/
>font=("arial",11pt, bold) ;
>MPRINT(CRF_TOC): style header from header / font=("arial",11pt,bold) ;
>MPRINT(CRF_TOC): style body from body / leftmargin=1.0in
rightmargin=1.0in
>topmargin=1.0in
>bottommargin=1.0in ;
>MPRINT(CRF_TOC): end;
>ERROR: Template 'Styles.Crf_rtf' was unable to write to template store!
>NOTE: PROCEDURE TEMPLATE used (Total process time):
>
>thanks
>SL
From: Tom Abernathy on
Don't close your other session. Instead change your macro to NOT
expect to be able to write to the SASUSER library.
Write you generated templates to the WORK library.
Change you PATH statement from :

path sasuser.templat(update) sashelp.tmplmst(read);

To:

path work.templat(update) sasuser.templat(read) sashelp.tmplmst(read);




On Feb 23, 3:08 pm, ya.hu...(a)AMYLIN.COM (Ya Huang) wrote:
> Do you have another SAS session open?
> If so, close it, you'll be fine.
>
> On Tue, 23 Feb 2010 11:50:08 -0800, SAS_learner <procconte...(a)GMAIL.COM>
> wrote:
>
>
>
>
>
> >Hello all,
>
> >I am running a program which has  Proc Template inside the Program Code. I
> >ran this for one study and it was fine. But for the study I am working
> right
> >now  It is complaining  , I know it is hard to tell exactly what it is as
> it
> >is Study specific but is there anything Obvious thing from the log code
> >below that I need to check ??
>
> >MPRINT(CRF_TOC):   proc template;
> >MPRINT(CRF_TOC):   path sasuser.templat(update) sashelp.tmplmst(read);
> >MPRINT(CRF_TOC):   define style styles.crf_rtf;
> >MPRINT(CRF_TOC):   parent=styles.rtf;
> >MPRINT(CRF_TOC):   style systemtitle from TitlesandFooters/
> >font=("arial",11pt, bold) ;
> >MPRINT(CRF_TOC):   style header from header / font=("arial",11pt,bold) ;
> >MPRINT(CRF_TOC):   style body from body / leftmargin=1.0in
> rightmargin=1.0in
> >topmargin=1.0in
> >bottommargin=1.0in ;
> >MPRINT(CRF_TOC):   end;
> >ERROR: Template 'Styles.Crf_rtf' was unable to write to template store!
> >NOTE: PROCEDURE TEMPLATE used (Total process time):
>
> >thanks
> >SL- Hide quoted text -
>
> - Show quoted text -

From: SAS_learner on
Thank you Tom and Ya for helping me, What is that I am doing here
What is this code doing path work.templat(update) sasuser.templat(read)
sashelp.tmplmst(read); ?? I do not understand this as I did not use proc
template a lot

thanks for your help

SL

On Tue, Feb 23, 2010 at 2:54 PM, Tom Abernathy <tom.abernathy(a)gmail.com>wrote:

> Don't close your other session. Instead change your macro to NOT
> expect to be able to write to the SASUSER library.
> Write you generated templates to the WORK library.
> Change you PATH statement from :
>
> path sasuser.templat(update) sashelp.tmplmst(read);
>
> To:
>
> path work.templat(update) sasuser.templat(read) sashelp.tmplmst(read);
>
>
>
>
> On Feb 23, 3:08 pm, ya.hu...(a)AMYLIN.COM (Ya Huang) wrote:
> > Do you have another SAS session open?
> > If so, close it, you'll be fine.
> >
> > On Tue, 23 Feb 2010 11:50:08 -0800, SAS_learner <procconte...(a)GMAIL.COM>
> > wrote:
> >
> >
> >
> >
> >
> > >Hello all,
> >
> > >I am running a program which has Proc Template inside the Program Code.
> I
> > >ran this for one study and it was fine. But for the study I am working
> > right
> > >now It is complaining , I know it is hard to tell exactly what it is
> as
> > it
> > >is Study specific but is there anything Obvious thing from the log code
> > >below that I need to check ??
> >
> > >MPRINT(CRF_TOC): proc template;
> > >MPRINT(CRF_TOC): path sasuser.templat(update) sashelp.tmplmst(read);
> > >MPRINT(CRF_TOC): define style styles.crf_rtf;
> > >MPRINT(CRF_TOC): parent=styles.rtf;
> > >MPRINT(CRF_TOC): style systemtitle from TitlesandFooters/
> > >font=("arial",11pt, bold) ;
> > >MPRINT(CRF_TOC): style header from header / font=("arial",11pt,bold) ;
> > >MPRINT(CRF_TOC): style body from body / leftmargin=1.0in
> > rightmargin=1.0in
> > >topmargin=1.0in
> > >bottommargin=1.0in ;
> > >MPRINT(CRF_TOC): end;
> > >ERROR: Template 'Styles.Crf_rtf' was unable to write to template store!
> > >NOTE: PROCEDURE TEMPLATE used (Total process time):
> >
> > >thanks
> > >SL- Hide quoted text -
> >
> > - Show quoted text -
>