Previous Topic: JARSWZ11 Control Statements

Next Topic: JARSWZ12: Input File Update


JARSWZ11 Execution Description

All of these statements, except DECODE, function as described in previous examples.

DECODE

The DECODE statement assigns values to the work field DEPT NAME that was created by the DEFINE(K) statement earlier. CA JARS Wizard examines the first position of the USER INFO field in each input record and looks for a match in the DECODE table. If there is one, it assigns the corresponding department name to the DEPT NAME field. If there is no match, it gives DEPT NAME a value of UNKNOWN DEPT CODE.