Question keyboard key
REXX

REXX – Miscellaneous Functions

The following built-in Rexx Miscellaneous Functions.   Function Description ADDRESS Returns the name of the environment to which commands are currently being sent. ARG Returns an argument string or information about the argument strings to a program or internal routine. BITAND Returns a string composed of the two input strings […]

Question keyboard key
REXX

REXX – String Manipulating Functions

The following built-in Rexx String Manipulating Functions analyse a string supplied in the argument (or a variable representing a string) and return a particular value.   Function Description ABBREV Returns a string indicating if one string is equal to the specified number of leading characters of another string. DELSTR Returns a […]

Question keyboard key
REXX

REXX – Formatting Functions

The following built-in Rexx Formatting Functions manipulate the characters and spacing in strings supplied in the argument.   Function Description CENTER or CENTRE. Returns a string of a specified length with the input string centered in it, with pad characters added as necessary to make up the length. COPIES Returns the specified […]

Question keyboard key
REXX

REXX – Conversion Functions

The following built-in Rexx Conversion Functions convert one type of data representation to another type of data representation.   Function Description B2X Returns a string, in character format, that represents the input binary string converted to hexadecimal. (Binary to hexadecimal) C2D Returns the decimal value of the binary representation of the […]

Question keyboard key
REXX

REXX – Comparison Functions

The following built-in Rexx Comparison Functions compare numbers and/or strings and return a value.   Function Description COMPARE Returns 0 if the two input strings are identical. Otherwise, returns the position of the first character that does not match. DATATYPE Returns a string indicating the input string is a particular […]