Chapter Contents

Previous

Next
SETPARMID

SETPARMID



Makes the value of an SCL numeric variable available between SCL programs

Category: Object Oriented


Syntax
Details
Example
See Also

Syntax

CALL SETPARMID(nval);

nval
is the numeric value to store for retrieval by GETPARMID.

Type: Numeric


Details

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.


Example

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);

See Also

DISPLAY

ENTRY

GETPARMID


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.