Date: Mon, 15 Dec 2008 17:36:16 -0600
Reply-To: Red Eagle <rdb1956@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Red Eagle <rdb1956@HOTMAIL.COM>
Subject: Need a general Method to load a LIST from a SAS dataset
Here I am trying to create a general method to load a LIST from a SAS Dataset.
Maybe someone has some code for this they could share.
I'm passing in the name of the SAS dataset to use.
I'm passing in the name of the LIST to make and load.
I'm passing in the name of the variable, the values of which to load.
I would like to pass in the name of the screen combo box and then assign the
list to it. However the code below doesn't work, yet.
Run time error is ENTRY statement parameter 1 passed wrong type.
parm_SASTableName :INPUT :OBJECT /* work.SAS datset name */
parm_ListName :INPUT :LIST /* name of the LIST to load */
parm_InputVarName :INPUT :CHAR(20); /* name of the variable to use */
Seemed simple enough when I started.
In the SCL I would use CALL METHOD(??,??) and pass in the paramerters.
Thanks in advance!!!!