SAS Component Language Dictionary |
Makes the value of an SCL numeric variable available between SCL
programs
Category: |
Object Oriented
|
-
nval
-
is the numeric value to store for retrieval
by GETPARMID.
Type: Numeric
SETPARMID stores
a number that can then be retrieved by calling GETPARMID. One program can
use SETPARMID to store a value and another program can use GETPARMID to retrieve
the value.
SETPARMID and GETPARMID allow only one value to be passed.
To pass multiple values between entries, use the ENTRY statement. Other ways
of making values available to other SCL programs include using macro variables
and SCL lists.
Open the SAS table MYDATA. Then use SETPARMID to store
the table identifier value so that other programs can use GETPARMID to access
the table:
dsid=open('mydata','i');
call setparmid(dsid);
DISPLAY
ENTRY
GETPARMID
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.