Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mm_getpublictypes.sas
Go to the documentation of this file.
1/**
2 @file mm_getpublictypes.sas
3 @brief Creates a dataset with all deployable public types
4 @details More info:
5 https://support.sas.com/documentation/cdl/en/bisag/65422/HTML/default/viewer.htm#n1nkrdzsq5iunln18bk2236istkb.htm
6
7 Usage:
8
9 * dataset will contain one column - publictype ($64);
10 %mm_getpublictypes(outds=types)
11
12 @param [out] outds= (work.mm_getpublictypes) The library.dataset to create
13
14 @returns outds= dataset containing all types
15
16 @version 9.3
17 @author Allan Bowe
18
19**/
20
21%macro mm_getpublictypes(
22 outds=work.mm_getpublictypes
23)/*/STORE SOURCE*/;
24
25proc sql;
26create table &outds (publictype char(64)); /* longest is currently 52 */
27insert into &outds values ('ACT');
28insert into &outds values ('Action');
29insert into &outds values ('Application');
30insert into &outds values ('ApplicationServer');
31insert into &outds values ('BurstDefinition');
32insert into &outds values ('Channel');
33insert into &outds values ('Condition');
34insert into &outds values ('ConditionActionSet');
35insert into &outds values ('ContentSubscriber');
36insert into &outds values ('Cube');
37insert into &outds values ('DataExploration');
38insert into &outds values ('DeployedFlow');
39insert into &outds values ('DeployedJob');
40insert into &outds values ('Document');
41insert into &outds values ('EventSubscriber');
42insert into &outds values ('ExternalFile');
43insert into &outds values ('FavoritesFolder');
44insert into &outds values ('Folder');
45insert into &outds values ('Folder.SecuredData');
46insert into &outds values ('GeneratedTransform');
47insert into &outds values ('InformationMap');
48insert into &outds values ('InformationMap.OLAP');
49insert into &outds values ('InformationMap.Relational');
50insert into &outds values ('JMSDestination (Java Messaging System message queue)');
51insert into &outds values ('Job');
52insert into &outds values ('Job.Cube');
53insert into &outds values ('Library');
54insert into &outds values ('MessageQueue');
55insert into &outds values ('MiningResults');
56insert into &outds values ('MQM.JMS (queue manager for Java Messaging Service)');
57insert into &outds values ('MQM.MSMQ (queue manager for MSMQ)');
58insert into &outds values ('MQM.Websphere (queue manager for WebSphere MQ)');
59insert into &outds values ('Note');
60insert into &outds values ('OLAPSchema');
61insert into &outds values ('Project');
62insert into &outds values ('Project.EG');
63insert into &outds values ('Project.AMOExcel');
64insert into &outds values ('Project.AMOPowerPoint');
65insert into &outds values ('Project.AMOWord');
66insert into &outds values ('Prompt');
67insert into &outds values ('PromptGroup');
68insert into &outds values ('Report');
69insert into &outds values ('Report.Component');
70insert into &outds values ('Report.Image');
71insert into &outds values ('Report.StoredProcess');
72insert into &outds values ('Role');
73insert into &outds values ('SearchFolder');
74insert into &outds values ('SecuredLibrary');
75insert into &outds values ('Server');
76insert into &outds values ('Service.SoapGenerated');
77insert into &outds values ('SharedDimension');
78insert into &outds values ('Spawner.Connect');
79insert into &outds values ('Spawner.IOM (object spawner)');
80insert into &outds values ('StoredProcess');
81insert into &outds values ('SubscriberGroup.Content');
82insert into &outds values ('SubscriberGroup.Event');
83insert into &outds values ('Table');
84insert into &outds values ('User');
85insert into &outds values ('UserGroup');
86quit;
87
88%mend mm_getpublictypes;