Publishing Framework
INSERT_PACKAGEInserts a package into another package. SyntaxCALL INSERT_PACKAGE(packageId, insertPackageId, rc<, properties, propValue1, ...propValueN>);
DetailsDescription and name/value parameters are not allowed on this CALL routine. Instead, this CALL routine uses the description and name/value parameters specified in the PACKAGE_BEGIN CALL routine. The following example initializes two packages (PACKAGEID and DSPID). All data sets are inserted into the package identified by DSPID. The package identified by DSPID is nested within the main package identified by PACKAGEID. call package_begin(packageId, "Main package", '', '', rc); call package_begin(dsPid, "Package of just data sets.", '', '', rc); libname = 'sasuser'; memname = 'payroll'; desc = 'Monthly payroll data.'; call insert_dataset(dsPid, libname, memname, desc, '', rc); libname = 'sasuser'; memname = 'employees'; desc = 'Employee data.'; call insert_dataset(dsPid, libname, memname, desc,"", rc); /* nest data set package in main package */ CALL INSERT_PACKAGE(packageId, dsPid, rc); See Also
|