Using Basic Edit
If you do not use MFS or an LU 6.1 device, IMS TM does some editing automatically. The editing IMS TM does to the first message segment is different from the editing IMS TM does for subsequent message segments.
See IMS Version 15.2 Communications and Connections for a complete description of Basic Edit.
Editing input messages
When IMS TM receives the first segment of an input message for your application program, IMS TM:
- Removes leading and trailing control characters.
- Removes leading blanks.
- Removes backspaces (from a printer terminal).
- Translates to uppercase, if this is specified with the EDIT=UC specification on the system definition TRANSACT macro.
If the message segment contains a password, IMS TM edits the segment by:
- Removing the password and inserting a blank in place of the password.
- Removing the password if the first character of the text is a blank. IMS TM does not insert the blank.
- Left-justifying the text of the segment.
For subsequent input message segments, IMS TM does not remove leading blanks from the text of the message. The other formatting features are the same.
Editing output messages
For output messages, Basic Edit:
- Changes nongraphic characters in the output message before the data goes to the output device.
- Inserts any necessary idle characters after new line, line feed, and tab characters.
- Adds line control characters for the operation of the communication line.