Previous Topic: ProgramNext Topic: Check for Empty File/Call Another Program


Parameters for Program APCS5902

'CC01,CC02,CC03,STRING'

These parameters are positional. If a parameter is specified, all previous parameters must also be specified. If a parameter error occurs, APAS5902 abends with an abend code of 1000. All condition codes are 1 to 4 positions and must be numeric values.

CC01

(Optional) The condition code if the file is empty. The default is 0004.

CC02

(Optional) The condition code if the file is not empty and there is a string and it does not match the first record. The default is 0000.

CC03

(Optional) The condition code if the file is not empty and there is a string and the string does match the first record. (Default: none).

STRING

(Optional, but required if CC03 is supplied) The string to be used to compare to the first record of the file if the file is found.