|
Hi,
The code below is from a file called AUTOEXEC.SAS that has the purpose
to start
an AF application. The file AUTOEXEC.SAS has the path
'D:\myapplication\AUTOEXEC.SAS'.
It's a while since I last time submitted the code, but it worked fine
then. Meanwhile, I have upgraded from version 8 to 9 of SAS.
The application used to present a GUI for the user. I think the
program was developed with version 8 of SAS. I wonder if the error
message I get
from the log when submitting this AUTOEXEC.SAS file is because I am
running
version 9 of SAS now. If that is so, I wonder if anyone with a glance
can see
if and eventually what can be done to upgrade the code so I can run it
on version 9.
/* ------------ Defining libref for the application:
-----------------*/
%let SYSTEM = SYSTEM; /* libref of system
*/
/* ------------ Defining path for the application
-------------*/
%Let BASISOMR = D:\myapplication ;
%Let p_system = &BASISOMR.\system;
/* ------------ Assigning LIBREF
------------------------------------------*/
Libname system "&p_system";
Libname applib "&BASISOMR.\Afprog";
*--- FILENAMES --- Windows API ;
Filename SasCbtBl "&BASISOMR.\System\APIDesc.txt";
/* ------- Options that have to be defined before application
invocation --*/
Options font='Sasfont' 8;
Options FORMCHAR = "|----|+|---+=|-/\<>*" ;
Options noxwait
noxsync
awsmenumerge
validvarname = any ;
/* ------------------------------------- Starting system */
dm 'af c=applib.main.hoved.frame' af;
This is some of what I get in the log:
48 Options noxwait
49 noxsync
50 awsmenumerge
51 validvarname = any ;
WARNING: Only Base procedures and SAS/STAT procedures have been tested
for use with
VALIDVARNAME=ANY. Other use of this option is considered
experimental and may cause
undetected errors.
52
53 /* ------------------------------------- Starting system
*/
54
55
56
57
58
59 dm 'af c=applib.main.hoved.frame' af;
ERROR: Catalog APPLIB.MAIN does not exist.
ERROR: No previous AF invocation, use AF C=library.catalog.entry.type
Regard,
Rune
|