NET/MASTER Network Control Language (NCL) Reference Manual

Summary of Built-in Functions
Built-in Functions
4–2 106126 Tandem Computers Incorporated
Table 4-1. List of Built-in Functions (Page 2 of 3)
Built-in Function Description
COPIES Returns a string made up of repetitions of another string.
D2C Converts a decimal number to an ASCII character string.
D2X Converts a decimal number to a hexadecimal string.
DATATYPE Tests a string for a specified data type.
DATE Provides the current date in one of the specified formats.
DATECONV Changes one date format to a different date format.
DELSTR Deletes part of a string starting at a specified character position.
DELWORD Deletes a specified number of words from a string.
E2A Translates an input string from EBCDIC to ASCII.
INSERT Inserts one string into another.
JUSTIFY Inserts spaces or user-specified pad characters into a string.
LASTPOS Locates the last occurrence of a substring within a string.
LEFT Returns the leftmost characters of a string.
LENGTH Returns the length of a specified string.
LOWER Converts a supplied string to lowercase characters.
MASKCHK Tests a string against a mask.
MAX Returns the highest number in a set of numbers.
MIN Returns the lowest number in a set of numbers.
NAMTONOD Converts a system name to its corresponding system number.
NEXTFILE Returns the name of the next file after the one specified.
NEXTSVOL Returns the name of the next subvolume after the one specified.
NODTONAM Converts a system number to its corresponding system name.
NOYES Returns a NO or YES value depending on whether a specified expression is true
(1) or false (0).
NULL0 Tests a specified string and returns 0 (zero) if the string is null.
OVERLAY Overlays one string with another.
POS Returns the location of a substring within a string.
QUOTE Adds leading and trailing user-specified quote characters to a string.
RANDOM Returns a pseudo-random number.
REMSTR Splits a string at a specific character and returns the data after that character.
REVERSE Reverses the order of the characters in a string.
RIGHT Returns the rightmost characters of a string.
SELSTR Extracts the leading portion of a string, up to a specified character.
SIGN Tests the specified number and indicates if it is positive, negative, or 0 (zero).
SPACE Removes extraneous spaces from a string.
SSIDTOTEXT Translates an internal format SSID to an external format string.