HiLMAs reference
Back
Next

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. dependent
ABS Numeric Obtains absolute value
No
ADDR Assignment Obtain an address and put it in a pointer
No
BITAND String Bitwise AND between variables
No
BITOR String Bitwise OR between variables
No
BITXOR String Bitwise XOR between variables
No
BREAK Control Leave SELECT block
No
BUILDMAP Screen Dynamically build a 3270 data stream
No
BYTE2INT Conversion Convert a byte (a single character) into an integer
No
CALL Subroutine Recall an External Subroutine
No
CENTER String Center words
No
CLEAR Screen Clear screen
Yes
CONTINUE Control Do nothing
No
CONVDATE Conversion Date conversion
No
CONVERSE Screen Input / Output of a full screen map prepared by BUILDMAP
Yes
COPIES String Fill a string with character(s)
No
DEC Numeric Decrease an Integer number
No
DELSTR String Delete a substring
No
EDIT2NUM Conversion Convert a string into a number
No
ELSE Control See IF
No
ENDIF Control See IF
No
ENDPROG Environment End a HILMAS program Yes
ENDSEL Control See SELECT
No
ENDSUB Subroutine End an Internal Subroutine
No
ENDWHILE Control See While
No
ENVIRON Environment Change some environmental conditions
No
EXIT 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
No
ITERATEW 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
       

 

 

Back Start Next
Introduction Top PROGRAM