>>-+-/FORMAT-+--modname--+------------------+--+------+-------->< '-/FOR----' '-LTERM--ltermname-' '-data-'
Table 61 lists the environments (DB/DC, DBCTL, and DCCTL) from which the command and keyword can be issued.
Command / Keyword | DB/DC | DBCTL | DCCTL |
---|---|---|---|
/FORMAT | X | X | |
LTERM | X | X |
/FORMAT causes a specific format to be displayed on a physical terminal using the IMS Message Format Service (MFS). The displayed format is used by IMS in processing the next input from the formatted terminal.
Using a password with /FORMAT is not valid.
/FORMAT, where an IMS-supplied default modname is used, is not effective for a 3270 master terminal that uses the MFS master terminal formatting option.
Recommendation: If a format is lost during a conversation, do not use the /FORMAT command to restore the format. Instead, enter a /HOLD command followed by a /RELEASE command to display the first physical page of the current message and restore the format.
If the ltermname does not exist, an attempt is made to create the lterm and associated user structure. The command creates this structure by queueing the format and data, if any exists, to the terminal as if it were a message. This process is similar to a message switch, a message insert, or a /BROADCAST LTERM, all of which queue a message to an LTERM.
The format request is rejected if the specified LTERM is:
In an IMSplex, /FORMAT LTERM can be used to queue a format to an LTERM that is not active or that is active on any IMS in the IMSplex.
Remote Terminal entry:
/FORMAT DFSMO4 /BROADCAST LTERM WTOR (eos) this is segment 1 (eos) this is segment 2 (eos) this is segment 3 (eom)
Response ET:
DFS058I BROADCAST COMMAND COMPLETED
Response RT:
THIS IS SEGMENT 1 THIS IS SEGMENT 2 THIS IS SEGMENT 3
Explanation: The remote terminal is first formatted by the /FORMAT command, where default format DFSMO4 supports the input of 4 segments. This is followed by /BROADCAST with four segments.