---
title: "IMS DC MFS Control Blocks (2 of 3)"
description: "The use of Message format service (MFS) control blocks in IMS DC explained in this post."
url: https://srinimf.com/2015/09/15/top-features-of-ims-dc-mfs-control-blocks/
date: 2015-09-15
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2015/09/pexels-photo-1107717.jpeg?fit=1880%2C1253&ssl=1
categories: ["IMS DC"]
tags: ["IMS DC MFS control blocks"]
type: post
lang: en
---

# IMS DC MFS Control Blocks (2 of 3)

The IMS message format service (MFS) is a facility of the IMS Transaction Manager environment that formats messages to and from terminal devices, so that IMS application programs do not deal with device-specific characteristics in input or output messages.

Related[Recently asked IMS DC Top Interviews Questions(2 of 2)](https://srinimf.com/2015/07/28/mainframe-top-ims-dc-interview-questions-2-of-2/)

In addition, MFS formats messages to and from user-written programs in remote controllers and subsystems, so that application programs do not deal with transmission-specific characteristics of the remote controller.

## MFS uses [control blocks](https://srinimf.com/2012/04/10/ims-db-mfs-control-blocks-part-2/) you specify to indicate to IMS how input and output messages are arranged.

- For input messages, MFS control blocks define how the message sent by the device to the application program is arranged in the program’s I/O area.
- For output messages, MFS control blocks define how the message sent by the application program to the device is arranged on the screen or at the printer. Data that appears on the screen but not in the program’s I/O area, such as a literal, can also be defined.

In IMS Transaction Manager systems, data passing between the application program and terminals or remote programs can be edited by MFS or basic edit. Whether an application program uses MFS depends on the type of terminals or secondary logical units (SLUs) your network uses.

## The advantages of using MFS are as follows:

- MFS simplifies developing and maintaining terminal-oriented applications by performing common application functions and providing independence from specific devices or remote programs.
- MFS improves online performance by using control blocks for online processing.

MFS edits input data from a device into an IMS application message format using the message definition that the MFS application designer writes as input to the MFS language utility program. An input message consists of all segments presented to an IMS application program when the program issues a DL/I GU or GN call.

The format of input messages is defined to the MFS Language utility. Each message consists of one or more segments; each segment consists of one or more fields:

MESSAGE         SEGMENTS             FIELDS

MFS edits output segments created by an IMS application program into a device format suitable for the device or remote program for which the message is destined. Normally, the output segments from the IMS program contain no device-related data.

All information needed for output to a device or remote program is provided when the message format is defined to the MFS Language utility program. For a remote program with DPM, specific device-dependent information is provided by the remote program without interpretation by MFS.

An output message consists of all segments presented to IMS with an ISRT call between a GU call to the I/O PCB and either a PURG call, another GU call to the I/O PCB, or normal program termination.

Related Posts

- [IMSDC MFS Control Blocks ( 1 of 3)](https://srinimf.com/2012/04/07/imsdc-mfs-4-control-blocks-part-1/)DateApril 7, 2012
- [Recently asked IMS DC Top Interviews Questions(2 of 2)](https://srinimf.com/2015/07/28/mainframe-top-ims-dc-interview-questions-2-of-2/)DateJuly 28, 2015
- [IMS DC MFS Control Blocks (3 of 3)](https://srinimf.com/2012/04/10/ims-db-mfs-control-blocks-part-2/)DateApril 10, 2012

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2015%2F09%2F15%2Ftop-features-of-ims-dc-mfs-control-blocks%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2015%2F09%2Fpexels-photo-1107717.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=IMS%20DC%20MFS%20Control%20Blocks%20%282%20of%203%29)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/09/15/top-features-of-ims-dc-mfs-control-blocks/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/09/15/top-features-of-ims-dc-mfs-control-blocks/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/09/15/top-features-of-ims-dc-mfs-control-blocks/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/09/15/top-features-of-ims-dc-mfs-control-blocks/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20IMS%20DC%20MFS%20Control%20Blocks%20%282%20of%203%29&body=https%3A%2F%2Fsrinimf.com%2F2015%2F09%2F15%2Ftop-features-of-ims-dc-mfs-control-blocks%2F&share=email)
-

### Like this:

Like Loading…
