Date: Thu, 10 Jul 1997 15:21:44 +0200
Reply-To: Gerard.HANNEY@EUROSTAT.CEC.BE
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Gerard Hanney <Gerard.HANNEY@EUROSTAT.CEC.BE>
Subject: Problem using ViewTable from an SCL program.
Content-Type: text/plain; charset=us-ascii
<WIN2607-970710132144-61DD*/G=Gerard/S=HANNEY/O=EUROSTAT/PRMD=CEC/ADMD=RTT/C=BE
/@MHS>
X-LSVTag: MIME-Version: 1.0
X-LSVTag: Content-Type: text/plain; charset=us-ascii
To: $PEER$ <SAS-L@VTVM1.CC.VT.EDU>
I am trying to Browse a DataSet in an SCL program with
Viewtable instead of Proc FSview but I am getting the following error:
Can anyone see what I am doing wrong?
/* +-----------------------+
| Old way |
+-----------------------+ */
call fsview('data.'||CODE,'BROWSE','' ,'BRONLY');
/* ======================================================= */
/* +-----------------------+
| New way |
+-----------------------+ */
file2view ='data.'||trim(CODE);
arglist = makelist();
rc = insertc(arglist,file2view,-1,'OPEN');
call display('sashelp.fsp.vtmain.frame',arglist);
rc = dellist(arglist);
/* ======================================================= */
>>>> SASLOG (part of )
[sm01.scl] Start Browse Section
===============================
ERROR: This method is not defined for the object class.
ERROR: Call to _SETUP_ failed. Unable to send event SETUP to OBJ1.
Arguments passed to SEND:
1 _SELF_ = 3421
2 (Character Literal) = '_SEND_EVENT_'
Parameters passed to SEND ENTRY:
1 (Character Literal) = 'SETUP'
2 COMMAND_LIST = 3395
Program returning prematurely at line 180
AF Program: SASHELP.FSP.VTFRAME.SCL
^^^^^^^
ARGLIST = 9283
CMDLIST = 3395
COMMAND_LIST = 3395
DATAVIEW_ID = 3401
GLIST = 0
GROUP = 0
I = 0
ID = 0
INDEX = 1
MENU_GRAY = 3423
MENU_ITEMS = 0
MENU_STATE = 3425
OPTNUM = 0
PREVCMD = ''
RC = 3421
SLIST = 0
SOURCE = ''
TB = 9449
TCMD = ''
TYPE = 'N'
VALUE = ''
VTMSG = 9739
_CURROW_ =
_ERROR_ =
_FRAME_ = 3421
_METHOD_ = '_INIT_LABEL_'
_MSG_ = ''
_SELF_ = 3421
_STATUS_ = ' '
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
I use SAS 6.12 under Solaris.
Thank you,
Gerard Hanney
*******************************************************
*G.Hanney,JMO B3/69,L-2920,Luxembourg.:Ph. 4301-34929 *
* =================================================== *
* Internet: Gerard.Hanney@eurostat.cec.be *
*******************************************************
_