Regular Base SAS Macros.
More...Files | |
| file | mf_abort.sas [code] | 
| abort gracefully according to context  | |
| file | mf_existds.sas [code] | 
| Checks whether a dataset OR a view exists.  | |
| file | mf_existvar.sas [code] | 
| Checks if a variable exists in a data set.  | |
| file | mf_existvarlist.sas [code] | 
| Checks if a set of variables ALL exist in a data set.  | |
| file | mf_getattrn.sas [code] | 
| Returns a numeric attribute of a dataset.  | |
| file | mf_getengine.sas [code] | 
| Returns the engine type of a SAS library.  | |
| file | mf_getfilesize.sas [code] | 
| Returns the size of a file in bytes.  | |
| file | mf_getkeyvalue.sas [code] | 
| retrieves a key value pair from a control dataset  | |
| file | mf_getquotedstr.sas [code] | 
| Adds custom quotes / delimiters to a space delimited string.  | |
| file | mf_getuniquefileref.sas [code] | 
| Returns an unused fileref.  | |
| file | mf_getuniquelibref.sas [code] | 
| Returns an unused libref.  | |
| file | mf_getuser.sas [code] | 
Returns &sysuserid in Workspace session,  &_secureusername in Stored Process session.  | |
| file | mf_getvalue.sas [code] | 
| Retrieves a value from a dataset. If no filter supplied, then first record is used.  | |
| file | mf_getvarcount.sas [code] | 
| Returns number of variables in a dataset.  | |
| file | mf_getvarformat.sas [code] | 
| Returns the format of a variable.  | |
| file | mf_getvarlen.sas [code] | 
| Returns the length of a variable.  | |
| file | mf_getvarlist.sas [code] | 
| Returns dataset variable list direct from header.  | |
| file | mf_getvarnum.sas [code] | 
| Returns the position of a variable in dataset (varnum attribute).  | |
| file | mf_getvartype.sas [code] | 
| Returns variable type - Character (C) or Numeric (N)  | |
| file | mf_loc.sas [code] | 
| Returns physical location of various SAS items.  | |
| file | mf_mkdir.sas [code] | 
| Creates a directory, including any intermediate directories.  | |
| file | mf_nobs.sas [code] | 
| Returns number of logical (undeleted) observations.  | |
| file | mf_uid.sas [code] | 
| Creates a Unique ID based on system time in a friendly format.  | |
| file | mf_verifymacvars.sas [code] | 
| Checks if a set of macro variables exist / contain values.  | |
| file | mf_wordsinstr1butnotstr2.sas [code] | 
| Returns words that are in string 1 but not in string 2.  | |
| file | mp_binarycopy.sas [code] | 
| Copy any file using binary input / output streams.  | |
| file | mp_dirlist.sas [code] | 
| Returns all files and subdirectories within a specified parent.  | |
| file | mp_distinctfmtvalues.sas [code] | 
| Creates a dataset containing distinct formatted values.  | |
| file | mp_dropmembers.sas [code] | 
| Drops tables / views (if they exist) without warnings in the log.  | |
| file | mp_ds2cards.sas [code] | 
| Create a CARDS file from a SAS dataset.  | |
| file | mp_getmaxvarlengths.sas [code] | 
| Scans a dataset to find the max length of the variable values.  | |
| file | mp_lib2cards.sas [code] | 
| Convert all library members to CARDS files.  | |
| file | mp_perflog.sas [code] | 
| Logs the time the macro was executed in a control dataset.  | |
| file | mp_recursivejoin.sas [code] | 
| Returns all children from a hierarchy table for a specified parent.  | |
| file | mp_resetoption.sas [code] | 
| Reset an option to original value.  | |
| file | mp_searchdata.sas [code] | 
| Searches all data in a library.  | |
| file | mp_setkeyvalue.sas [code] | 
| Logs a key value pair a control dataset.  | |
| file | mp_stprequests.sas [code] | 
| Capture session start / finish times and request details.  | |
| file | mp_stpsetup.sas [code] | 
| Configures a non STP session like an STP session.  | |
| file | mp_zip.sas [code] | 
| Creates a zip file.  | |
These macros have the following attributes:
OS independent Not metadata aware No X command Prefixes: _mf_, _mp_
  
    For more information visit the  Boemska MacroCore library.