INSERT_SQLVIEW
Inserts a PROC SQL view into a package
Syntax
CALL INSERT_SQLVIEW(packageId, libname, memname, desc, nameValue, rc);
Required Arguments
- packageID
-
identifies the package.
- libname
-
names the library that
contains the PROC SQL view.
- memname
-
names the PROC SQL
view.
- desc
-
describes the PROC
SQL view.
- nameValue
-
identifies a list of
one or more space-separated name/value pairs, each in one of the following
forms:
-
-
-
-
name="
single value with spaces"
-
-
-
name=(
value1, "
value 2",…
valueN)
Name/value pairs are
site-specific; they are used for the purpose of
filtering.
- rc
-
receives a return code.
Example: Using INSERT_SQLVIEW
The following example
inserts the PROC SQL view FINANCE.PAYROLL into the package that is
returned in
packageId
.
libname = 'finance';
memname = 'payroll';
desc = 'Monthly payroll data.';
nameValue='';
CALL INSERT_SQLVIEW(packageId, libname,
memname, desc, nameValue, rc);