Effect of overrides on some commands

Some commands ignore overrides entirely, while others allow overrides only for certain parameters.

The following commonly used commands ignore overrides entirely:

  • ADDLFM
  • ADDPFM
  • ALCOBJ
  • APYJRNCHG
  • CHGOBJOWN
  • CHGPTR
  • CHGSBSD
  • CHGXXXF (all change file commands)
  • CLRPFM
  • CLRSAVF
  • CPYIGCTBL
  • CRTDUPOBJ
  • CRTAUTHLR
  • CRTSBSD
  • CRTTAPF
  • DLCOBJ
  • DLTF
  • DLTAUTHLR
  • DSPDBR
  • DSPFD
  • DSPFFD
  • DSPJRN
  • EDTOBJAUT
  • EDTDLOAUT
  • ENDJRNPF
  • GRTOBJAUT
  • INZPFM
  • MOVOBJ
  • RGZPFM
  • RMVJRNCHG
  • RMVM
  • RNMOBJ
  • RTVMBRD
  • RVKOBJAUT
  • SBMDBJOB
  • SIGNOFF
  • STRDBRDR
  • STRJRNPF
Note: Save operations and restore operations ignore all file overrides that are related to the respective media (tape, diskette, save file).

The server does not apply overrides to any server files that are opened as part of an end-of-routing step or end-of-job processing. For example, you cannot specify overrides for the job log file. In some cases, when you need to override something in a server file, you might be able to change it through a command other than an override command. For example, to change the output queue for a job log, the output queue can be changed before sign-off using the OUTQ parameter on the Change Job (CHGJOB) command to specify the name of the output queue for the job. If the printer file for the job log contains the value *JOB for the output queue, the output queue is the one that is specified for the job.

The following commands allow overrides for the SRCFILE and SRCMBR parameters only:

  • CRTCMD
  • CRTICFF
  • CRTDSPF
  • CRTLF
  • CRTXXXPGM
  • CRTPRTF
  • CRTSRCPF
  • CRTTBL
  • CRTPF
  • All create program commands. These commands also use overrides to determine which file will be opened by a compiled program.

The following command allows overrides for the TOFILE, MBR, SEQONLY, LVLCHK, and INHWRT parameters:

OPNQRYF

The following commands allow overrides, but do not allow changing the MBR to *ALL:

  • CPYFRMPCD
  • CPYTOPCD
The following commands do not allow overrides to affect the display files that they use. Overrides to the printer files they use should not change the file type or the file name. Some restrictions are placed on changes that can be made to printer files used by these commands, but the server cannot guarantee that all combinations of possible specifications will produce an acceptable report.
DMPOBJ and DMPSYSOBJ
(In addition to the preceding limitations, these commands do not allow overrides to the file they dump.)
DSPXXXXXX
(All display commands. The display commands that display information about a file do not allow overrides to that file.)
DSPIGCDCT
EDTIGCDCT
GO
(You can override message files.)
PRTXXXXXX
(All print commands.)
QRYDTA
TRCXXX
(All trace commands.)
WRKXXXXXX
(All work-with commands.)
Related concepts
Apply overrides when compiling a program