Alphabetical command reference
In this page all instructions are in alphabetical order, with a flag to notify if the instruction is Environment dependent:
"Yes" mean that it recall some operating system macro, so a program that use it can be ported in another environment with some caution.
Obvious examples are CLEAR (that can be used only in an interactive environment), or FDELETE or FSTARTBR (that cannot be used with a sequential file or CMS file).
Statement Type Description Environ. dependentABS Numeric Obtains absolute value NoADDR Assignment Obtain an address and put it in a pointer NoBITAND String Bitwise AND between variables NoBITOR String Bitwise OR between variables NoBITXOR String Bitwise XOR between variables NoBREAK Control Leave SELECT block NoBUILDMAP Screen Dynamically build a 3270 data stream NoBYTE2INT Conversion Convert a byte (a single character) into an integer NoCALL Subroutine Recall an External Subroutine NoCENTER String Center words NoCLEAR Screen Clear screen YesCONTINUE Control Do nothing NoCONVDATE Conversion Date conversion NoCONVERSE Screen Input / Output of a full screen map prepared by BUILDMAP YesCOPIES String Fill a string with character(s) NoDEC Numeric Decrease an Integer number NoDELSTR String Delete a substring NoEDIT2NUM Conversion Convert a string into a number NoELSE Control See IF NoENDIF Control See IF NoENDPROG Environment End a HILMAS program Yes ENDSEL Control See SELECT NoENDSUB Subroutine End an Internal Subroutine NoENDWHILE Control See While NoENVIRON Environment Change some environmental conditions NoEXIT Control Leave (end) the main program No FCLOSE Input/Output File Close Yes FDELETE Input/Output Delete a record (VSAM only) Yes FENDBR Input/Output End Dynamic access Yes FERASE Input/Output Erase a file (VM/CMS only) Yes FLO2EDIT Conversion Convert a float into a string No FLO2INT Conversion Convert a float into an integer No FOPEN Input/Output File Open Yes FOR Control Unconditional loop No FREAD Input/Output Read a record from a file Yes FREWRITE Input/Output Rewrite a record (VSAM only) Yes FSTARTBR Input/Output Start a Dynamic access to a file (Start Browse) Yes FSTATE Input/Output Obtains file characteristics Yes FWRITE Input/Output Write a record into a file Yes GOSUB Subroutine Recall an Internal Subroutine No HALF2INT Conversion Convert a two-bytes integer in a four-bytes integer No HEX2VAR Conversion Convert from Hexadecimal No IF Control Test conditions and branch No INC Numeric Increase an Integer number No INPUT Input/Output Strings input from Standard Input Yes INSERT String Insert a substring No INT Numeric Truncate a float number No INT2BYTE Conversion Convert an integer into a byte (a character) No INT2FLO Conversion Convert an integer into a float No INT2HALF Conversion Convert a four-bytes integer in a two-bytes integer No INT2PAC Conversion Convert an integer into a packed No INT2ZON Conversion Convert an integer into a zoned No ITERATEF Control Iterate FOR No ITERATER Control Iterate REPEAT NoITERATEW Control Iterate WHILE No LEAVEF Control Leave FOR No LEAVER Control Leave REPEAT No LEAVEW Control Leave WHILE No LENGTH String Get the length of a string No LET Numeric Do an arithmetic computation No LTRIM String Align string removing left spaces No MEMALLOC System Dynamically allocate memory Yes MEMFREE System Free dynamically allocated memory Yes MOVE Assignment Move data into a variable No MOVARRAY Assignment Move an array element to/from a variable No NEXT Control See FOR No NOBREAK Control Test next condition in SELECT No NUM2EDIT Conversion Convert a number into a string No OTHERW Control See SELECT No OVERLAY String Overlay a substring No PAC2INT Conversion Convert a packed into an integer No PARSE String Parse a string into words No POS String Search a substring No PROGRAM Environment Start a HILMAS program Yes PTR2PTR Assignment Use pointers to move data No PTR2VAR Assignment Use pointer to move data to a variable No RANDOM Miscellaneous Obtains a random number No RANDSEED Miscellaneous Randomize the seed for random numbers Yes REPEAT Control Conditional loop No RETURN Subroutine End an External Subroutine Yes REXX2VAR Miscellaneous Put a REXX variable into a Hilmas variable Yes ROUTINE Subroutine Define an External Subroutine Yes RTRIM String Align string removing right spaces No SAY Input/Output Strings or numbers output to Standard Output Yes SEARCH String Search character(s) into a string No SELECT Control MultiBranch selection No SLEEP Miscellaneous Wait for a number of seconds Yes SQUEEZE String Remove character(s) from a string No STACK Miscellaneous Put data into user stack (TSO and VM/CMS only) Yes SUBDEF Subroutine Define an Internal Subroutine No SUBEXIT Subroutine Exit from an Internal Subroutine No SUBSTR String Get a substring No TEMPLATE String Merge two strings using a template No TIMEDATE Miscellaneous Obtains system time and date Yes TRANSLAT String Translate a string using a table No UNTIL Control See REPEAT No UPPER String Translate in Uppercase No VALIDPAC Miscellaneous Validate a packed number No VAR2PTR Assignment Use pointer to move data from variable No VAR2REXX Miscellaneous Put a Hilmas variable into a REXX variable Yes WHEN Control See SELECT No WHILE Control Conditional loop No WORD String Count and get positions of words No ZON2INT Conversion Convert a zoned into an integer No ZON2PAC Conversion Convert a zoned into a packed No