The following table lists the VMRGRW control statements and provides a brief description about each statement.

Control StatementDescription
*Denotes a comment
Bit testTests bits in flag fields. A bit test statement is a special kind of IF statement
COMPUTEPerforms arithmetic operations on fields and literals, and creates new fields
CONTROLDetermines the spacing of the diagnostic output and indicates the column to begin or end a read in the control file
DECODETranslates coded data
DEFINEDefines a new field or redefines aspects of an existing field
END IFEnds conditional processing started by an IF statement
END STEPEnds a processing step
FILESpecifies the input file used for the report
IFStarts conditional processing
IGNOREDiscards records that pass IF clauses
MOVEMoves data from one field to another and packs and unpacks data
NEXT RECORDReads the next record in the input file
NOWExecutes a MOVE or COMPUTE statement immediately
PRINTPrints the specified fields in the output file
PRINT HEADINGPrints report titles
PRINT TOTALDescribes fields to be totaled and prints results
REDEFINEDefines subfields within larger fields
SELECTProcesses records that pass IF clauses
SKIPSkips a specified number of records at the beginning of the input file
SORTSorts records
STOPTerminates processing before the end of the file
SUMMARIZEWrites summarized fields to an output file
WRITEWrites fields to an output file