HiLMAs reference
Back
Appendix A
Next

System Hilmas variables

Common to all programs

Variable Type Remark See
$PARAM   CL130 Input Parameter line PROGRAM
$PARAML   F Length of $PARAM PROGRAM
$NUMPARS   F Number of parsed words PARSE
$DATAERR   CL1 Show a data error if not space EDIT2NUM, HEX2VAR
$PAD   CL1 Default pad char. (always space)
$CSEARCH   CL1 Character found by SEARCH SEARCH
$VERRTYP   CL3 Type of VSAM error (LGC or PHI)
$EOF   CL1 End Of File
$LENGERR   CL1 Signals a truncated record
$RC   F Program return code EXIT
$RCCALL   F Routine return code (also used by MEMALLOC)
$RCFILE   F Return code File management
$RCVSAM   F Return code VSAM File management
$RCMDACB   F Return code Modify ACB (VSAM)
$RCMDRPL   F Return code Modify RPL (VSAM)
$MAPLEN   F Length of a read screen map CONVERSE
$RECLEN   F Length of read record

 

For Date and Time handling

Variable Type Remark See
$DATE   CL8 Date in European format DATETIME, CONVDATE
$DAY   CL2 Day DATETIME, CONVDATE
$MONTH   CL2 Month DATETIME, CONVDATE
$YEAR   CL2 Year (two digits) DATETIME, CONVDATE
$TIME   CL8 Time in the form HH:MM:SS DATETIME
$HH   CL2 Hours DATETIME
$MM   CL2 Minutes DATETIME
$SS   CL2 Seconds DATETIME
$DAYH   H Day in number CONVDATE
$MONTHH   H Month in number CONVDATE
$YEARH   H Year in number CONVDATE
$DAYSEC   F Seconds spent in the day
$DAYJUL   F Julian day CONVDATE
$DAYNUM   H Day number from 1rs January CONVDATE
$DAYWEEK   H Day of week CONVDATE
$LAPYEAR   H Leap Year CONVDATE
$CYFLAG   H Century flag CONVDATE

 

Only DOS/VSE batch

Variable Type Remark See
$COMMJOB   CL46 Batch COMMAREA in VSE, with following subfields
$DATAJOB   CL8 Job execution date  
$COMUSCR   CL11 Communication area between JOB steps
$UPSI   CL1 UPSI byte  
$NOMEJOB   CL8 Job name
$PPEND   A    
$HIPHAS   A  
$HIPROG   A  
$LABLEN   H    

 

Only CICS, for every program

Variable Type Remark See
$TERMID   CL4 User's Terminal name
$TRANSID   CL4 Transaction name  
$COMMLEN   F Commarea length
$COMMPTR   A Pointer to Commarea  
$RESP   F Result RESP() in internal EXEC CICS
$NOMEMAP   CL8    
$MAPSET   CL8  
$HLEN   H  
$HVAR   H    

 

Only CICS, if FSTATE is used

Variable Type Remark See
$TYPEFIL   CL4 File type: KSDS, ESDS or RRDS
$LRECL   F Record length  
$KEYL   F Key length for a KSDS
$RKP   F Key offset for a KSDS  
$STRNO   F STRINGS number
$RECFM   CL1 Record format (F ot V)  
$FLREAD   CL1 Flag for read access (Y or N)
$FLUPDT   CL1 Flag for update access (Y or N)
$FLBROW   CL1 Flag for browse access (Y or N)
$FLADD   CL1 Flag for add access (Y or N)
$FLDEL   CL1 Flag for delete access (Y or N)

 

Only VSAM files in MVS, TSO and DOS, if FSTATE is used

Variable Type Remark See
$TYPEFIL   CL4 File type: KSDS, ESDS or RRDS
$AVSPAC   F Average Free Space in bytes  
$BUFNO   F Buffer Number (data part)
$CINV   F Control Interval in bytes (data part)  
$FS   F Control Area Free space
$KEYL   F Key Length (KSDS)  
$RKP   F Key Offset (KSDS)  
$NCIS   F Number of Control Interval split
$NEXCP   F EXCP number (data part)
$NEXT   F Number of extents (data part)
$NLOGR   F Number of records
$NSSS   F Number of Control Area split
$NDELR   F Number of deleted records  
$NINSR   F Number of inserted records
$NRETR   F Number of read records  
$NUPDR   F Number of updated records  
$AVSPIND   F Free space in bytes (index part)  
$BUFNIND   F Used buffers (index part)  
$CINVIND   F Control interval in bytes (index part)  
$NEXCIND   F EXCP (index part)  
$NEXTIND   F Number of extents (index part)  
$NIXLIND   F Levels of index tree  

 

Only CMS, if FSTATE is used

Variable Type Remark See
$FSTFN   CL8 File Name
$FSTFT   CL8 File Type  
$FSTFM   CL2 File Mode  
$FSTDATE   H  
$FSTTIME   H    
$FSTWPTR   H  
$FSTRPTR   H    
$FSTNREC   H Number of records
$FSTDADR   H  
$FSTRFMT   CL1 Recorf format (F or V)
$FSTFLAG   CL1  
$FSTRLEN   H Record length
$FSTYEAR   H  

 

 


Back Start Next
Appendixes Top Install in MVS