Skip to content

GT.M Utilities Summary Table

GT.M Utilities Summary Table

GT.M Utilities Summary
UTILITY NAMEDESCRIPTION
%DDisplays the current date in [d]d-mmm-[yy]yy format.
%DATEConverts input date to $HOROLOG format.
%DHConverts decimal numbers to hexadecimal.
%DOConverts decimal numbers to octal.
%EXPRaises number to the power of another number.
%FLLists comment lines at the beginning of the source programs.
%FREECNTDisplays the number of free blocks in the database files associated with the current global directory.
%GDisplays global variables and their values.
%GBLDEFManipulates the collation sequence assigned to a global.
%GCCopies a global or global sub-tree.
%GCEReplaces a specified value or part of a value in a set of global variables.
%GDDisplays existing globals in the current global directory without displaying their values or descendants.
%GEDProvides full-screen editing capabilities for global variables and values.
%GIEnters global variables and their values from a sequential file into a database.
%GOCopies globals from the current database to a sequential output file.
%GSEDisplays global variables and their values when the values contain a specified string or number.
%GSELSelects globals by name.
%HConverts date and time to and from $HOROLOG format.
%HDConverts hexadecimal numbers to decimal.
%HEX2UTFConverts the given bytestream in hexadecimal notation to GT.M encoded character string.
%HOConverts hexadecimal numbers to octal.
%JSWRITEConverts a GT.M glv structure to a string of JS objects.
%LCASEConverts a string to all lower case.
%LCLCOLManipulates the collation sequence assigned to local variables.
%ODConverts octal numbers to decimal.
%OHConverts octal numbers to hexadecimal.
%PATCODELoads pattern definition files for use within an active database.
%RCEReplaces every occurrence of a text string with another string in a routine or list of routines.
%RDLists routine names available through your $ZROUTINES search list.
%RITransfers routines from ANSI sequential format into individual .m files in GT.M format.
%ROWrites M routines in ANSI transfer format.
%RSESearches for every occurrence of a text string in a routine or a list of routines.
%RSELSelects M routines and places their directories and names in a local array.
%SQROOTCalculates the square root of a number.
%TDisplays the current time in [h]h:mm AM/PM format.
%TIConverts time to $HOROLOG format.
%TOConverts the current time from $HOROLOG format to [h]h:mm AM/PM format.
%UCASEConverts a string to all upper case.
%UTF2HEXConverts UTF-8 encoded GT.M character string to bytestream in hexadecimal notation.