Date: Tue, 2 Aug 2005 15:03:17 -0400
Reply-To: "Fehd, Ronald J" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J" <rjf2@CDC.GOV>
Subject: Re: EG 3/Stored Process error
Content-Type: text/plain; charset="us-ascii"
filename _webout list;
I don't see an allocation for this fileref
so that may be your problem
> ERROR: File is in use, .
.........................^ this dot is the end of the sentence
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
> -----Original Message-----
> From: > tmuir
> Hi Everyone,
>
> I modified the Hello World program 'stphello.sas', and modified the
> associated Stored Process, adding parameter 'name'. In
> 'stphello.sas', I
> changed 'World' to '&name'. It ran successfully the first
> time, but no
> longer runs now. I believe the error message 'ERROR: File is
> in use, .'
> refers to a macro variable _URL, but I'm not sure. I haven't
> knowingly
> modified this parameter... Does anyone now what might have
> happened to draw
> this error?
>
>
> NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA.
> NOTE: SAS (r) 9.1 (TS1M3)
> NOTE: This session is executing on the WIN_ASRV platform.
>
> NOTE: SAS 9.1.3 Service Pack 2
>
> NOTE: SAS Initialization used (Total process time):
> real time 0.00 seconds
> cpu time 0.00 seconds
>
>
> >>> SAS Macro Variables:
>
> _RESULT=STREAM
> _ENCODING=UTF-8
>
> _APSLIST=_encoding,_gopt_device,_metaperson,_metauser,_odsdest
> ,_odsstyle,_re
> sult,_url,name
> _URL=.
> _METAUSER=SASTrust
>
> _REPLAY="&_URL?_sessionid=2576722B-5CEF-43CD-ABB2-499AC8E2055A
> &_program=repl
> ay&_entry=&_TMPCAT.."
> NAME=World
> _METAPERSON=SAS Trusted User
> _ODSSTYLE=BarrettsBlue
> _GOPT_DEVICE=ACTIVEX
> _ODSDEST=HTML
> _TMPCAT=APSWORK.TCAT0011
>
> 1 options nosource source2 center notes nodate
> nonumber ls=195
> formchar='|----|+|---+=|-/\<>*' pagesize=40 noovp nomprint nomlogic
> nosymbolgen; title; footnote;
>
> The SAS System
>
> NOTE: %INCLUDE (level 1) file D:\Apps\SAS\SAS
> 9.1\inttech\sample\stphello.sas is file D:\Apps\SAS\SAS
> 9.1\inttech\sample\stphello.sas.
> 3 +/* Begin EG generated code (do not edit this line) */
> 4 +/* Application registered by
> 5 +Enterprise Guide Application Manager v1.3 */
> 6 +
> 7 +*ProcessBody;
> 8 +
> 9 +%global name;
> 10 +
> 11 +%stpbegin;
> 12 +
> 13 +/* End EG generated code (do not edit this line) */
> 14 +
> 15 +
> /*****************************************************************/
> 16 + /* S A S S A M P L E L I B R A R Y
> */
> 17 + /*
> */
> 18 + /* NAME: STPHELLO
> */
> 19 + /* TITLE: Hello World
> */
> 20 + /* PRODUCT: SAS Integration Technologies - Stored Process
> */
> 21 + /* SYSTEM: ALL
> */
> 22 + /* KEYS:
> */
> 23 + /* PROCS:
> */
> 24 + /* DATA:
> */
> 25 + /*
> */
> 26 + /* SUPPORT: Web Tools Group UPDATE: 12Jun2002
> */
> 27 +
> /*****************************************************************/
> 28 +
> 29 + /*simply write out a web page that says "Hello World!"*/
> 30 +data _null_;
> 31 + file _webout;
> 32 + put '<HTML>';
> 33 + put "<HEAD><TITLE>Hello &name!</TITLE></HEAD>";
> 34 + put '<BODY>';
> 35 + put "<H1>Hello &name!</H1>";
> 36 + put '</BODY>';
> 37 + put '</HTML>';
> 38 +run;
>
>
> The SAS System
>
> ERROR: File is in use, .
> NOTE: The SAS System stopped processing this step because of errors.
> NOTE: DATA statement used (Total process time):
> real time 0.00 seconds
> cpu time 0.00 seconds
>
>
> 39 +
> 40 +/* Begin EG generated code (do not edit this line) */
> 41 +%stpend;
> 42 +
> 43 +
> 44 +/* End EG generated code (do not edit this line) */
> NOTE: %INCLUDE (level 1) ending.
>
> Thanks in advance,
> Tim
>
|