Overrides to the same file at the same call level: scenario 1

When you enter two overrides for the same file name at the same call level, the second override replaces the first override. This allows you to replace an override at a single call level, without having to delete the first override (see Deleting overrides). For example:




Override 1 OVRDKTF FILE(QDKTSRC) LABEL(X)
CALL PGM(REORDER)


Override 2 OVRDKTF FILE(QDKTSRC) LABEL(Y)
CALL PGM(REORDER)

Assume that program REORDER uses the diskette file QDKTSRC. Override 1 causes the first call to program REORDER to use the source file with a label of X for its processing. Override 2 causes the second call to program REORDER to use the source file with a label of Y for its processing.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]