Basic Edit Function


If you do not use MFS, the IMS basic edit function performs message editing.

For input messages, the basic edit function:

  • Translates messages to uppercase, if specified by the EDIT=UC parameter on the system definition TRANSACT macro.

  • Removes leading control characters from the first segment of each message. Leading blanks are also removed from the first segment if the message is not the continuation of a conversation or a message from a terminal that is in preset mode.

  • Removes leading control characters from all subsequent message segments, if the message type is a transaction or a command (except the /BROADCAST command).

  • Removes line control characters from all segments.

  • Removes trailing carriage return and end-of-block characters from all segments of a transaction.

  • Eliminates backspaces, on a one-for-one basis, from all segments when the entering or transmission of backspaces is a normal correction procedure on the entering terminal.

  • Removes the password and replaces it with a blank when necessary to provide separation between the transaction code, logical terminal, or command verb and the data that follows.

  • Inserts, in front of data that is entered in the first segment of a message, the transaction code or logical terminal name defined by the prior /SET command. A blank is inserted following the transaction code if it is necessary to obtain separation between the inserted transaction code and the entered data.

  • Adds a non-conversational transaction code to the first segment of the next input message, if a terminal is in conversation mode and the application terminates the conversation by inserting a non-conversational transaction code into the SPA.

  • Removes the function management header (FMH), if any, that appears at the beginning of the first transmission of a chain for VTAM-supported devices.

  • Deblocks message segments at each interrecord separator (IRS) control character, and discards the IRS control character for input from a SLU1 card reader, a transmit data set (TDS), or a user data set (UDS).

  • Deblocks message segments at each new line or form-feed control character if the optional MFS editing is not selected for SLU1 consoles. This character can be discarded, depending on the criteria previously described.

  • Treats the presence of a TRN (X'35') character immediately followed by a length in the next byte as transparent data.

For output messages, the basic edit function:

  • Changes nongraphic characters in the output message before the data goes to the 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

For basic edit support of SLU1 transparent data, basic edit does not alter or delete characters following the destination and password fields if transparent processing has been requested. Indicate transparent processing by specifying:

  • BINPDSB1=BINTRNDS on the bind image for VTAM-type SLU1 terminals

  • Edit option BASIC=TRN on the COMPT1 parameter of the IMS TERMINAL macro or ETO descriptors for SLU1 terminals

Related Reading: For more information about the basic edit function, see IMS Version 9: Administration Guide: Transaction Manager.



Introduction to IMS. Your Complete Guide to IBM's Information Management System
An Introduction to IMS: Your Complete Guide to IBMs Information Management System
ISBN: 0131856715
EAN: 2147483647
Year: 2003
Pages: 226

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net