Read this section to understand parameter 2 that is passed to the user label program.
Parameter 2 contains a character 0 or 1, that indicates whether the label read is the last label read. For output files, the user label program sets the value. For input files, the system sets the value.