@sasjs/core 4.46.6 → 4.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/README.md +3 -2
  2. package/base/mf_abort.sas +5 -0
  3. package/base/mf_deletefile.sas +1 -1
  4. package/base/mf_existds.sas +1 -1
  5. package/base/mf_existfileref.sas +1 -1
  6. package/base/mf_existfunction.sas +1 -1
  7. package/base/mf_existvarlist.sas +2 -2
  8. package/base/mf_getapploc.sas +1 -0
  9. package/base/mf_getattrc.sas +2 -2
  10. package/base/mf_getattrn.sas +2 -2
  11. package/base/mf_getkeyvalue.sas +3 -2
  12. package/base/mf_getplatform.sas +1 -1
  13. package/base/mf_getschema.sas +1 -1
  14. package/base/mf_getuniquelibref.sas +1 -1
  15. package/base/mf_getuniquename.sas +1 -1
  16. package/base/mf_getuser.sas +0 -2
  17. package/base/mf_getvalue.sas +3 -3
  18. package/base/mf_getvarformat.sas +2 -1
  19. package/base/mf_getvarlen.sas +2 -2
  20. package/base/mf_getvarnum.sas +2 -2
  21. package/base/mf_getvartype.sas +2 -2
  22. package/base/mf_getxengine.sas +1 -1
  23. package/base/mf_increment.sas +2 -2
  24. package/base/mf_isblank.sas +1 -1
  25. package/base/mf_isdir.sas +1 -1
  26. package/base/mf_loc.sas +6 -1
  27. package/base/mf_mkdir.sas +1 -1
  28. package/base/mf_mval.sas +2 -0
  29. package/base/mf_nobs.sas +1 -1
  30. package/base/mf_trimstr.sas +2 -2
  31. package/base/mf_wordsinstr1andstr2.sas +2 -2
  32. package/base/mf_wordsinstr1butnotstr2.sas +2 -2
  33. package/base/mf_writefile.sas +2 -2
  34. package/base/mp_abort.sas +11 -10
  35. package/base/mp_aligndecimal.sas +2 -2
  36. package/base/mp_appendfile.sas +2 -2
  37. package/base/mp_assertcols.sas +2 -2
  38. package/base/mp_assertcolvals.sas +1 -1
  39. package/base/mp_base64copy.sas +2 -2
  40. package/base/mp_binarycopy.sas +7 -6
  41. package/base/mp_chop.sas +3 -2
  42. package/base/mp_cleancsv.sas +5 -4
  43. package/base/mp_copyfolder.sas +1 -1
  44. package/base/mp_createconstraints.sas +3 -3
  45. package/base/mp_createwebservice.sas +1 -1
  46. package/base/mp_csv2ds.sas +6 -5
  47. package/base/mp_deleteconstraints.sas +5 -3
  48. package/base/mp_deletefolder.sas +1 -1
  49. package/base/mp_dictionary.sas +1 -1
  50. package/base/mp_distinctfmtvalues.sas +5 -5
  51. package/base/mp_ds2ddl.sas +14 -2
  52. package/base/mp_dsmeta.sas +2 -2
  53. package/base/mp_filtercheck.sas +6 -4
  54. package/base/mp_filtergenerate.sas +2 -2
  55. package/base/mp_filterstore.sas +4 -3
  56. package/base/mp_getcols.sas +3 -2
  57. package/base/mp_getdbml.sas +4 -4
  58. package/base/mp_getddl.sas +15 -10
  59. package/base/mp_gsubfile.sas +6 -6
  60. package/base/mp_guesspk.sas +1 -1
  61. package/base/mp_hashdataset.sas +1 -1
  62. package/base/mp_lib2cards.sas +7 -7
  63. package/base/mp_md5.sas +2 -2
  64. package/base/mp_perflog.sas +3 -3
  65. package/base/mp_prevobs.sas +5 -5
  66. package/base/mp_recursivejoin.sas +7 -6
  67. package/base/mp_replace.sas +5 -4
  68. package/base/mp_runddl.sas +3 -3
  69. package/base/mp_searchcols.sas +7 -6
  70. package/base/mp_stprequests.sas +4 -3
  71. package/base/mp_testjob.sas +2 -2
  72. package/base/mp_testwritespeedlibrary.sas +3 -3
  73. package/base/mp_tree.sas +2 -2
  74. package/base/mp_unzip.sas +5 -4
  75. package/base/mp_updatevarlength.sas +3 -3
  76. package/base/mp_wait4file.sas +1 -1
  77. package/base/mp_webin.sas +1 -1
  78. package/base/mp_zip.sas +5 -5
  79. package/ddl/mddl_sas_cntlout.sas +12 -1
  80. package/meta/mm_adduser2group.sas +3 -3
  81. package/meta/mm_assigndirectlib.sas +10 -12
  82. package/meta/mm_assignlib.sas +2 -2
  83. package/meta/mm_createapplication.sas +13 -10
  84. package/meta/mm_createdataset.sas +5 -5
  85. package/meta/mm_createdocument.sas +7 -7
  86. package/meta/mm_createlibrary.sas +20 -17
  87. package/meta/mm_createstp.sas +22 -18
  88. package/meta/mm_createwebservice.sas +15 -14
  89. package/meta/mm_deletedocument.sas +1 -1
  90. package/meta/mm_deletelibrary.sas +1 -1
  91. package/meta/mm_deletestp.sas +1 -1
  92. package/meta/mm_getcols.sas +2 -2
  93. package/meta/mm_getdetails.sas +6 -3
  94. package/meta/mm_getdirectories.sas +4 -3
  95. package/meta/mm_getdocument.sas +4 -4
  96. package/meta/mm_getgroupmembers.sas +5 -5
  97. package/meta/mm_getlibs.sas +2 -2
  98. package/meta/mm_getobjects.sas +2 -2
  99. package/meta/mm_getpublictypes.sas +2 -0
  100. package/meta/mm_getrepos.sas +2 -1
  101. package/meta/mm_getroles.sas +2 -1
  102. package/meta/mm_getservercontexts.sas +2 -1
  103. package/meta/mm_getstps.sas +8 -7
  104. package/meta/mm_gettableid.sas +4 -4
  105. package/meta/mm_gettree.sas +4 -4
  106. package/meta/mm_gettypes.sas +2 -1
  107. package/meta/mm_getusers.sas +2 -4
  108. package/meta/mm_getwebappsrvprops.sas +1 -1
  109. package/meta/mm_tree.sas +3 -3
  110. package/meta/mm_updateappextension.sas +8 -8
  111. package/meta/mm_updatedocument.sas +6 -6
  112. package/meta/mm_updatestpservertype.sas +2 -2
  113. package/meta/mm_updatestpsourcecode.sas +6 -4
  114. package/metax/mmx_createmetafolder.sas +3 -3
  115. package/metax/mmx_deletemetafolder.sas +3 -3
  116. package/metax/mmx_spkexport.sas +6 -5
  117. package/package.json +1 -1
  118. package/viya/mfv_existfile.sas +2 -1
  119. package/viya/mfv_existfolder.sas +1 -1
  120. package/viya/mfv_existsashdat.sas +4 -4
  121. package/viya/mv_createjob.sas +16 -14
  122. package/viya/mv_deletefoldermember.sas +8 -6
  123. package/viya/mv_deletejes.sas +7 -5
  124. package/viya/mv_getclients.sas +2 -4
  125. package/viya/mv_getgroupmembers.sas +8 -5
  126. package/viya/mv_getgroups.sas +6 -4
  127. package/viya/mv_getjobstate.sas +6 -4
  128. package/viya/mv_getusergroups.sas +7 -4
  129. package/viya/mv_getusers.sas +8 -6
  130. package/viya/mv_registerclient.sas +4 -4
  131. package/viya/mv_tokenauth.sas +14 -13
  132. package/viya/mv_tokenrefresh.sas +11 -10
@@ -17,15 +17,15 @@
17
17
  @li mf_verifymacvars.sas
18
18
 
19
19
 
20
- @param tree= The metadata folder uri, or the metadata path, in which to
20
+ @param [in] tree= The metadata folder uri, or the metadata path, in which to
21
21
  create the document. This must exist.
22
- @param name= Document object name. Avoid spaces.
22
+ @param [in] name= Document object name. Avoid spaces.
23
23
 
24
- @param desc= Document description (optional)
25
- @param textrole= TextRole property (optional)
26
- @param frefin= fileref to use (enables change if there is a conflict)
27
- @param frefout= fileref to use (enables change if there is a conflict)
28
- @param mDebug= set to 1 to show debug messages in the log
24
+ @param [in] desc= Document description (optional)
25
+ @param [in] textrole= TextRole property (optional)
26
+ @param [in] frefin= fileref to use (enables change if there is a conflict)
27
+ @param [out] frefout= fileref to use (enables change if there is a conflict)
28
+ @param [in] mDebug= set to 1 to show debug messages in the log
29
29
 
30
30
  @author Allan Bowe
31
31
 
@@ -24,30 +24,33 @@
24
24
  @li mm_createfolder.sas
25
25
 
26
26
 
27
- @param libname= Library name (as displayed to user, 256 chars). Duplicates
28
- are not created (case sensitive).
29
- @param libref= Library libref (8 chars). Duplicate librefs are not created,
30
- HOWEVER- the check is not case sensitive - if *libref* exists, *LIBREF*
31
- will still be created. Librefs created will always be uppercased.
32
- @param engine= Library engine (currently only BASE supported)
33
- @param tree= The metadata folder uri, or the metadata path, in which to
27
+ @param [in] libname= (My New Library) Library name (as displayed to user,
28
+ 256 chars). Duplicates are not created (case sensitive).
29
+ @param [in] libref= (mynewlib) Library libref (8 chars). Duplicate
30
+ librefs are not created, HOWEVER- the check is not case sensitive - if
31
+ *libref* exists, *LIBREF* will still be created.
32
+ Librefs created will always be uppercased.
33
+ @param [in] engine= Library engine (currently only BASE supported)
34
+ @param [in] tree= The metadata folder uri, or the metadata path, in which to
34
35
  create the library.
35
- @param servercontext= The SAS server against which the library is registered.
36
- @param IsPreassigned= set to 1 if the library should be pre-assigned.
37
-
38
- @param libdesc= Library description (optional)
39
- @param directory= Required for the BASE engine. The metadata directory objects
40
- are searched to find an existing one with a matching physical path.
36
+ @param [in] servercontext= (SASApp) The SAS server against which
37
+ the library is registered.
38
+ @param [in] IsPreassigned= set to 1 if the library should be pre-assigned.
39
+
40
+ @param [in] libdesc= Library description (optional)
41
+ @param [in] directory= (/tmp/somelib) Required for the BASE engine.
42
+ The metadata directory objects are searched to find an existing
43
+ one with a matching physical path.
41
44
  If more than one uri found with that path, then the first one will be used.
42
45
  If no URI is found, a new directory object will be created. The physical
43
46
  path will also be created, if it doesn't exist.
44
47
 
45
48
 
46
- @param mDebug= set to 1 to show debug messages in the log
47
- @param frefin= fileref to use (enables change if there is a conflict). The
48
- filerefs are left open, to enable inspection after running the
49
+ @param [in] mDebug= set to 1 to show debug messages in the log
50
+ @param [in] frefin= fileref to use (enables change if there is a conflict).
51
+ The filerefs are left open, to enable inspection after running the
49
52
  macro (or importing into an xmlmap if needed).
50
- @param frefout= fileref to use (enables change if there is a conflict)
53
+ @param [out] frefout= fileref to use (enables change if there is a conflict)
51
54
 
52
55
 
53
56
  @version 9.3
@@ -40,28 +40,32 @@
40
40
  ,Server=SASApp
41
41
  ,stptype=2)
42
42
 
43
- @param stpname= Stored Process name. Avoid spaces - testing has shown that
43
+ @param [in] stpname= (SASjs Default STP) Stored Process name.
44
+ Avoid spaces - testing has shown that
44
45
  the check to avoid creating multiple STPs in the same folder with the same
45
46
  name does not work when the name contains spaces.
46
- @param stpdesc= Stored Process description (optional)
47
- @param filename= the name of the .sas program to run
48
- @param directory= The directory uri, or the actual path to the sas program
49
- (no trailing slash). If more than uri is found with that path, then the
50
- first one will be used.
51
- @param tree= The metadata folder uri, or the metadata path, in which to
47
+ @param [in] stpdesc= Stored Process description (optional)
48
+ @param [in] filename= the name of the .sas program to run
49
+ @param [in] directory= (SASEnvironment/sascode)
50
+ The directory uri or the actual path to the sas program (no trailing slash).
51
+ If more than uri is found with that path, then the first one will be used.
52
+ @param [in] tree= The metadata folder uri, or the metadata path, in which to
52
53
  create the STP.
53
- @param server= The server which will run the STP. Server name or uri is fine.
54
- @param outds= The two level name of the output dataset. Will contain all the
55
- meta uris. Defaults to work.mm_createstp.
56
- @param mDebug= set to 1 to show debug messages in the log
57
- @param stptype= Default is 1 (STP code saved on filesystem). Set to 2 if
54
+ @param [in] server= (SASApp) The server which will run the STP.
55
+ Server name or uri is fine.
56
+ @param [out] outds= (work.mm_createstp)
57
+ The two level name of the output dataset. Will contain all the meta uris.
58
+ @param [in] mDebug= set to 1 to show debug messages in the log
59
+ @param [in] stptype= Default is 1 (STP code saved on filesystem). Set to 2 if
58
60
  source code is to be saved in metadata (9.3 and above feature).
59
- @param minify= set to YES to strip comments / blank lines etc
60
- @param frefin= fileref to use (enables change if there is a conflict). The
61
- filerefs are left open, to enable inspection after running the
61
+ @param [in] minify= set to YES to strip comments / blank lines etc
62
+ @param [in] frefin= (mm_in) fileref to use (enables change if there is
63
+ a conflict).
64
+ The filerefs are left open, to enable inspection after running the
62
65
  macro (or importing into an xmlmap if needed).
63
- @param frefout= fileref to use (enables change if there is a conflict)
64
- @param repo= ServerContext is tied to a repo, if you are not using the
66
+ @param [out] frefout= (mm_out) fileref to use (enables change if there is
67
+ a conflict)
68
+ @param [in] repo= ServerContext is tied to a repo, if you are not using the
65
69
  foundation repo then select a different one here
66
70
 
67
71
  @returns outds dataset containing the following columns:
@@ -88,7 +92,7 @@
88
92
  **/
89
93
 
90
94
  %macro mm_createstp(
91
- stpname=Macro People STP
95
+ stpname=SASjs Default STP
92
96
  ,stpdesc=This stp was created automatically by the mm_createstp macro
93
97
  ,filename=mm_createstp.sas
94
98
  ,directory=SASEnvironment/SASCode
@@ -29,22 +29,23 @@ Usage:
29
29
  For more examples of using these web services with the SASjs Adapter, see:
30
30
  https://github.com/sasjs/adapter#readme
31
31
 
32
- @param path= The full path (in SAS Metadata) where the service will be created
33
- @param name= Stored Process name. Avoid spaces - testing has shown that
32
+ @param [in] path= () The full path (in SAS Metadata) where the service
33
+ will be created
34
+ @param [in] name= Stored Process name. Avoid spaces - testing has shown that
34
35
  the check to avoid creating multiple STPs in the same folder with the same
35
36
  name does not work when the name contains spaces.
36
- @param desc= The description of the service (optional)
37
- @param precode= Space separated list of filerefs, pointing to the code that
38
- needs to be attached to the beginning of the service (optional)
39
- @param code= (ft15f001) Space seperated fileref(s) of the actual code to be
40
- added
41
- @param server= (SASApp) The server which will run the STP. Server name or uri
42
- is fine.
43
- @param mDebug= (0) set to 1 to show debug messages in the log
44
- @param replace= (YES) select NO to avoid replacing an existing service in that
45
- location
46
- @param adapter= (sasjs) the macro uses the sasjs adapter by default. To use
47
- another adapter, add a (different) fileref here.
37
+ @param [in] desc= The description of the service (optional)
38
+ @param [in] precode= () Space separated list of filerefs, pointing to the
39
+ code that needs to be attached to the beginning of the service (optional)
40
+ @param [in] code= (ft15f001) Space seperated fileref(s) of the actual code
41
+ to be added
42
+ @param [in] server= (SASApp) The server which will run the STP. Server
43
+ name or uri is fine.
44
+ @param [in] mDebug= (0) set to 1 to show debug messages in the log
45
+ @param [in] replace= (YES) select NO to avoid replacing an existing service
46
+ in that location
47
+ @param [in] adapter= (sasjs) the macro uses the sasjs adapter by default.
48
+ To use another adapter, add a (different) fileref here.
48
49
 
49
50
  <h4> SAS Macros </h4>
50
51
  @li mm_createstp.sas
@@ -10,7 +10,7 @@
10
10
 
11
11
  <h4> SAS Macros </h4>
12
12
 
13
- @param target= full path to the document being deleted
13
+ @param [in] target= full path to the document being deleted
14
14
 
15
15
  @version 9.4
16
16
  @author Allan Bowe
@@ -20,7 +20,7 @@
20
20
 
21
21
  ![](https://i.imgur.com/Y4Tog24.png)
22
22
 
23
- @param [in] name= the name (not libref) of the library to be deleted
23
+ @param [in] name= () the name (not libref) of the library to be deleted
24
24
 
25
25
  <h4> SAS Macros </h4>
26
26
  @li mf_getuniquefileref.sas
@@ -9,7 +9,7 @@
9
9
 
10
10
  <h4> SAS Macros </h4>
11
11
 
12
- @param target= full path to the STP being deleted
12
+ @param [in] target= full path to the STP being deleted
13
13
 
14
14
  @version 9.4
15
15
  @author Allan Bowe
@@ -7,8 +7,8 @@
7
7
 
8
8
  %mm_getcols(tableuri=A5X8AHW1.B40001S5)
9
9
 
10
- @param outds the dataset to create that contains the list of columns
11
- @param uri the uri of the table for which to return columns
10
+ @param [out] outds the dataset to create that contains the list of columns
11
+ @param [in] uri the uri of the table for which to return columns
12
12
 
13
13
  @returns outds dataset containing all columns, specifically:
14
14
  - colname
@@ -2,9 +2,12 @@
2
2
  @file mm_getdetails.sas
3
3
  @brief extracts metadata attributes and associations for a particular uri
4
4
 
5
- @param uri the metadata object for which to return attributes / associations
6
- @param outattrs= the dataset to create that contains the list of attributes
7
- @param outassocs= the dataset to contain the list of associations
5
+ @param [in] uri the metadata object for which to return
6
+ attributes / associations
7
+ @param [out] outattrs= (work.attributes)
8
+ The dataset to create that contains the list of attributes
9
+ @param [out] outassocs= (work.associations)
10
+ The dataset to contain the list of associations
8
11
 
9
12
  @version 9.2
10
13
  @author Allan Bowe
@@ -5,9 +5,10 @@
5
5
  blank to return all directories. The Directory object is used to reference
6
6
  a physical filepath (eg when registering a .sas program in a Stored process)
7
7
 
8
- @param path= the physical path for which to return a meta Directory object
9
- @param outds= the dataset to create that contains the list of directories
10
- @param mDebug= set to 1 to show debug messages in the log
8
+ @param [in] path= Physical path for which to return a meta Directory object
9
+ @param [out] outds= (work.mm_getdirectories)
10
+ the dataset to create that contains the list of directories
11
+ @param [in] mDebug= (0) set to 1 to show debug messages in the log
11
12
 
12
13
  @returns outds dataset containing the following columns:
13
14
  - directoryuri
@@ -14,10 +14,10 @@
14
14
  <h4> SAS Macros </h4>
15
15
  @li mp_abort.sas
16
16
 
17
- @param tree= The metadata path of the document
18
- @param name= Document object name.
19
- @param outref= full and unquoted path to the desired text file. This will be
20
- overwritten if it already exists.
17
+ @param [in] tree= The metadata path of the document
18
+ @param [in] name= Document object name.
19
+ @param [out] outref= full and unquoted path to the desired text file.
20
+ This will be overwritten if it already exists.
21
21
 
22
22
  @author Allan Bowe
23
23
 
@@ -11,11 +11,11 @@
11
11
  ,emails=YES
12
12
  )
13
13
 
14
- @param group metadata group for which to bring back members
15
- @param outds= (work.mm_getgroupmembers) The dataset to create that contains
16
- the list of members
17
- @param emails= (NO) Set to YES to bring back email addresses
18
- @param id= (NO) Set to yes if passing an ID rather than a group name
14
+ @param [in] group metadata group for which to bring back members
15
+ @param [out] outds= (work.mm_getgroupmembers)
16
+ The dataset to create that contains the list of members
17
+ @param [in] emails= (NO) Set to YES to bring back email addresses
18
+ @param [in] id= (NO) Set to yes if passing an ID rather than a group name
19
19
 
20
20
  @returns outds dataset containing all members of the metadata group
21
21
 
@@ -4,8 +4,8 @@
4
4
  @details Will only show the libraries to which a user has the requisite
5
5
  metadata access.
6
6
 
7
- @param outds the dataset to create that contains the list of libraries
8
- @param mDebug set to anything but * or 0 to show debug messages in the log
7
+ @param [out] outds= (work.mm_getlibs)
8
+ The library.dataset to create that contains the list of libraries
9
9
 
10
10
  @returns outds dataset containing all groups in a column named "metagroup"
11
11
  (defaults to work.mm_getlibs). The following columns are provided:
@@ -2,8 +2,8 @@
2
2
  @file
3
3
  @brief Creates a dataset with all metadata objects for a particular type
4
4
 
5
- @param type= the metadata type for which to return all objects
6
- @param outds= the dataset to create that contains the list of types
5
+ @param [in] type= the metadata type for which to return all objects
6
+ @param [out] outds= the dataset to create that contains the list of types
7
7
 
8
8
  @returns outds dataset containing all objects
9
9
 
@@ -9,6 +9,8 @@
9
9
  * dataset will contain one column - publictype ($64);
10
10
  %mm_getpublictypes(outds=types)
11
11
 
12
+ @param [out] outds= (work.mm_getpublictypes) The library.dataset to create
13
+
12
14
  @returns outds= dataset containing all types
13
15
 
14
16
  @version 9.3
@@ -2,7 +2,8 @@
2
2
  @file
3
3
  @brief Creates a dataset with all available repositories
4
4
 
5
- @param outds= the dataset to create that contains the list of repos
5
+ @param [out] outds= (work.mm_getrepos)
6
+ The dataset to create that contains the list of repos
6
7
 
7
8
  @returns outds dataset containing all repositories
8
9
 
@@ -7,7 +7,8 @@
7
7
 
8
8
  %mm_getroles()
9
9
 
10
- @param [out] outds the dataset to create that contains the list of roles
10
+ @param [out] outds= (work.mm_getroles)
11
+ The dataset to create that contains the list of roles
11
12
 
12
13
  @returns outds dataset containing all roles, with the following columns:
13
14
  - uri
@@ -6,7 +6,8 @@
6
6
 
7
7
  %mm_getservercontexts(outds=mm_getservercontexts)
8
8
 
9
- @param outds= the dataset to create that contains the list
9
+ @param [out] outds= (work.mm_getrepos)
10
+ the dataset to create that contains the list
10
11
 
11
12
  @warning The following filenames are created and then de-assigned:
12
13
 
@@ -17,15 +17,16 @@
17
17
  <h4> SAS Macros </h4>
18
18
  @li mm_gettree.sas
19
19
 
20
- @param tree= the metadata folder location in which to search. Leave blank
21
- for all folders. Does not search subdirectories.
22
- @param name= Provide the name of an STP to search for just that one. Can
20
+ @param [in] tree= () the metadata folder location in which to search.
21
+ Leave blank for all folders. Does not search subdirectories.
22
+ @param [in] name= Provide the name of an STP to search for just that one. Can
23
23
  combine with the <code>tree=</code> parameter.
24
- @param outds= the dataset to create that contains the list of stps.
25
- @param mDebug= set to 1 to show debug messages in the log
26
- @param showDesc= provide a non blank value to return stored process
24
+ @param [out] outds= the dataset to create that contains the list of stps.
25
+ @param [in] mDebug= set to 1 to show debug messages in the log
26
+ @param [in] showDesc= provide a non blank value to return stored process
27
27
  descriptions
28
- @param showUsageVersion= provide a non blank value to return the UsageVersion.
28
+ @param [in] showUsageVersion= ()
29
+ Provide a non blank value to return the UsageVersion.
29
30
  This is either 1000000 (type 1, 9.2) or 2000000 (type2, 9.3 onwards).
30
31
 
31
32
  @returns outds dataset containing the following columns
@@ -9,10 +9,10 @@
9
9
  - get a table id
10
10
  %mm_gettableid(libref=METALIB,ds=SOMETABLE,outds=iwant)
11
11
 
12
- @param libref= The libref to search
13
- @param ds= The input dataset to check
14
- @param outds= the dataset to create that contains the `tableuri`
15
- @param mDebug= set to 1 to show debug messages in the log
12
+ @param [in] libref= The libref to search
13
+ @param [in] ds= The input dataset to check
14
+ @param [out] outds= the dataset to create that contains the `tableuri`
15
+ @param [in] mDebug= set to 1 to show debug messages in the log
16
16
 
17
17
  @returns outds dataset containing `tableuri` and `tablename`
18
18
 
@@ -10,10 +10,10 @@
10
10
  %mm_getTree(tree=/User Folders/sasdemo)
11
11
 
12
12
 
13
- @param tree= the BIP Tree folder path or uri
14
- @param outds= the dataset to create that contains the tree path & uri
15
- @param inds= an optional input dataset to augment with treepath & treeuri
16
- @param mDebug= set to 1 to show debug messages in the log
13
+ @param [in] tree= the BIP Tree folder path or uri
14
+ @param [out] outds= the dataset to create that contains the tree path & uri
15
+ @param [in] inds= an optional input dataset to augment with treepath & treeuri
16
+ @param [in] mDebug= set to 1 to show debug messages in the log
17
17
 
18
18
  @returns outds dataset containing the following columns:
19
19
  - treeuri
@@ -5,7 +5,8 @@
5
5
 
6
6
  %mm_gettypes(outds=types)
7
7
 
8
- @param outds the dataset to create that contains the list of types
8
+ @param [in] outds= (work.mm_gettypes)
9
+ The dataset to create that contains the list of types
9
10
  @returns outds dataset containing all types
10
11
  @warning The following filenames are created and then de-assigned:
11
12
 
@@ -12,14 +12,12 @@
12
12
 
13
13
  %mm_getusers(user=&_metaperson)
14
14
 
15
- @param outds the dataset to create that contains the list of libraries
16
-
17
15
  @returns outds dataset containing all users, with the following columns:
18
16
  - uri
19
17
  - name
20
18
 
21
- @param user= (0) Set to a metadata user to filter on that user
22
- @param outds= (work.mm_getusers) The output table to create
19
+ @param [in] user= (0) Set to a metadata user to filter on that user
20
+ @param [out] outds= (work.mm_getusers) The output table to create
23
21
 
24
22
  @version 9.3
25
23
  @author Allan Bowe
@@ -10,7 +10,7 @@
10
10
  put value=;
11
11
  run;
12
12
 
13
- @param outds the dataset to create that contains the list of properties
13
+ @param [out] outds= the dataset to create that contains the list of properties
14
14
 
15
15
  @returns outds dataset containing all properties
16
16
 
package/meta/mm_tree.sas CHANGED
@@ -52,9 +52,9 @@
52
52
  @li mm_getpublictypes.sas
53
53
  @li mf_isblank.sas
54
54
 
55
- @param root= the parent folder under which to return all contents
56
- @param outds= the dataset to create that contains the list of directories
57
- @param types= Space-seperated, unquoted list of types for filtering the
55
+ @param [in] root= the parent folder under which to return all contents
56
+ @param [in] outds= the dataset to create that contains the list of directories
57
+ @param [in] types= Space-seperated, unquoted list of types for filtering the
58
58
  output. Special types:
59
59
 
60
60
  * ALl - return all types (the default)
@@ -17,14 +17,14 @@
17
17
  ,paramdesc=some description)
18
18
 
19
19
 
20
- @param app= the BIP Tree folder path plus Application Name
21
- @param paramname= Parameter name
22
- @param paramvalue= Parameter value
23
- @param paramdesc= Parameter description
24
-
25
- @param frefin= change default inref if it clashes with an existing one
26
- @param frefout= change default outref if it clashes with an existing one
27
- @param mDebug= set to 1 to show debug messages in the log
20
+ @param [in] app= the BIP Tree folder path plus Application Name
21
+ @param [in] paramname= Parameter name
22
+ @param [in] paramvalue= Parameter value
23
+ @param [in] paramdesc= Parameter description
24
+
25
+ @param [in] frefin= change default inref if it clashes with an existing one
26
+ @param [out] frefout= change default outref if it clashes with an existing one
27
+ @param [in] mDebug= set to 1 to show debug messages in the log
28
28
 
29
29
  @version 9.4
30
30
  @author Allan Bowe
@@ -10,13 +10,13 @@
10
10
  ,text="/file/system/some.txt")
11
11
 
12
12
 
13
- @param path= the BIP Tree folder path
14
- @param name=Document Name
15
- @param text=a source file containing the text to be added
13
+ @param [in] path= the BIP Tree folder path
14
+ @param [in] name=Document Name
15
+ @param [in] text=a source file containing the text to be added
16
16
 
17
- @param frefin= change default inref if it clashes with an existing one
18
- @param frefout= change default outref if it clashes with an existing one
19
- @param mDebug= set to 1 to show debug messages in the log
17
+ @param [in] frefin= change default inref if it clashes with an existing one
18
+ @param [out] frefout= change default outref if it clashes with an existing one
19
+ @param [in] mDebug= set to 1 to show debug messages in the log
20
20
 
21
21
  @version 9.3
22
22
  @author Allan Bowe
@@ -9,8 +9,8 @@
9
9
  ,type=WKS)
10
10
 
11
11
 
12
- @param target= full path to the STP being deleted
13
- @param type= Either WKS or STP depending on whether Workspace or
12
+ @param [in] target= full path to the STP being deleted
13
+ @param [in] type= Either WKS or STP depending on whether Workspace or
14
14
  Stored Process type required
15
15
 
16
16
  @version 9.4
@@ -10,10 +10,12 @@
10
10
  ,stpcode="/file/system/source.sas")
11
11
 
12
12
  @param [in] stp= the BIP Tree folder path plus Stored Process Name
13
- @param [in] stpcode= the source file (or fileref) containing the SAS code to load
14
- into the stp. For multiple files, they should simply be concatenated first.
15
- @param [in] minify= set to YES in order to strip comments, blank lines, and CRLFs.
16
- @param mDebug= set to 1 to show debug messages in the log
13
+ @param [in] stpcode= () The source file (or fileref) containing the SAS
14
+ code to load into the stp.
15
+ For multiple files, they should simply be concatenated first.
16
+ @param [in] minify= (NO) Set to YES in order to strip comments, blank lines,
17
+ and CRLFs.
18
+ @param [in] mDebug= set to 1 to show debug messages in the log
17
19
 
18
20
  @version 9.3
19
21
  @author Allan Bowe
@@ -11,9 +11,9 @@
11
11
  @li mf_loc.sas
12
12
  @li mp_abort.sas
13
13
 
14
- @param loc= the metadata folder to delete
15
- @param user= username
16
- @param pass= password
14
+ @param [in] loc= the metadata folder to delete
15
+ @param [in] user= username
16
+ @param [in] pass= password
17
17
 
18
18
  @version 9.4
19
19
  @author Allan Bowe
@@ -12,9 +12,9 @@
12
12
  <h4> SAS Macros </h4>
13
13
  @li mf_loc.sas
14
14
 
15
- @param loc= the metadata folder to delete
16
- @param user= username
17
- @param pass= password
15
+ @param [in] loc= the metadata folder to delete
16
+ @param [in] user= username
17
+ @param [in] pass= password
18
18
 
19
19
  @version 9.4
20
20
  @author Allan Bowe
@@ -32,11 +32,12 @@ Usage:
32
32
  @li mf_getuniquefileref.sas
33
33
  @li mp_abort.sas
34
34
 
35
- @param metaloc= the metadata folder to export
36
- @param secureref= fileref containing the username / password (should point to
37
- a file in a secure location)
38
- @param outspkname= name of the spk to be created (default is mmxport).
39
- @param outspkpath= directory in which to create the SPK. Default is WORK.
35
+ @param [in] metaloc= the metadata folder to export
36
+ @param [in] secureref= () fileref containing the username / password
37
+ (should point to a file in a secure location)
38
+ @param [in] outspkname= name of the spk to be created (default is mmxport).
39
+ @param [in] outspkpath= ((%sysfunc(pathname(WORK)))
40
+ directory in which to create the SPK.
40
41
 
41
42
  @version 9.4
42
43
  @author Allan Bowe
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "^4.4.1"
37
37
  },
38
- "version": "4.46.6"
38
+ "version": "4.47.0"
39
39
  }
@@ -12,7 +12,8 @@
12
12
  %put %mfv_existfile(/does/exist.txt);
13
13
  %put %mfv_existfile(/does/not/exist.txt);
14
14
 
15
- @param filepath The full path to the file on SAS drive (eg /Public/myfile.txt)
15
+ @param [in] filepath The full path to the file on SAS drive
16
+ (eg /Public/myfile.txt)
16
17
 
17
18
  <h4> SAS Macros </h4>
18
19
  @li mf_abort.sas
@@ -12,7 +12,7 @@
12
12
  %put %mfv_existfolder(/does/exist);
13
13
  %put %mfv_existfolder(/does/not/exist);
14
14
 
15
- @param path The path to the folder on SAS drive
15
+ @param [in] path The path to the folder on SAS drive
16
16
 
17
17
  <h4> SAS Macros </h4>
18
18
  @li mf_abort.sas
@@ -13,10 +13,10 @@
13
13
  To force a rescan, just use a new `&outprefix` value, or delete the table(s)
14
14
  before running the function.
15
15
 
16
- @param libds library.dataset
17
- @param outprefix= (work.mfv_existsashdat) Used to store the current HDATA
18
- tables to improve subsequent query performance. This reference is a prefix
19
- and is converted to `&prefix._{libref}`
16
+ @param [in] libds library.dataset
17
+ @param [out] outprefix= (work.mfv_existsashdat)
18
+ Used to store current HDATA tables to improve subsequent query performance.
19
+ This reference is a prefix and is converted to `&prefix._{libref}`
20
20
 
21
21
  @return output returns 1 or 0
22
22