MSGCLASS — Specify the Destination of Messages

Use this parameter to indicate where BDT is to send messages that pertain to this transaction.

Rules

Optional or Required: Optional

Section: Job definition, FROM, TO

DAP: SEQ, PDS

Format

Read syntax diagramSkip visual syntax diagramMSGCLASSMSG(*LOGNONE)
*
specifies that messages are to be sent to the terminal where you submitted the transaction and to the BDT system log.
LOG
specifies that messages are to be sent to a log defined by the installation. The messages may be processed by an installation-written exit routine.
NONE
specifies that messages are to be sent to the BDT system log.

Usage Notes

  1. When using the * option to send messages to a terminal, you can reduce the number of messages sent to the terminal by specifying MSG=S on the PARMS parameter.
  2. Do not confuse this parameter (which stands alone) with the MSG option of the PARMS parameter.

Example

Copy a data set to another data set and specify that messages related to the transaction be sent to the terminal at which you submit the transaction.
BDT Q MSGCLASS(*)
      FROM LOC(SYSA1) DATASET(ADATA.SET) DAP(SEQ)
      TO   LOC(SYSA2) DATASET(BDATA.SET)
      NEW LRECL(80) BLKSIZE(3120) RECFM(FB)
      SPACE(12,1) CYLINDERS VOLUME(BDTDS8)
      DISP(CATLG,DELETE) DSORG(PS)
      UNIT(3380)