Uncategorized

MFS CONTROL BLOCK CONCEPT

MFS CONTROL BLOCK CONCEPT:

DIF

Device Input Format

Description of data for input display

DOF

Device Output Format

Description of data for output display

MID

Message Input Descriptor

Description of program's I/O area for input

MOD

Message Output Descriptor

Description of program's I/O area for output

Pic 1

Mapping of MFS Control Block

Mapping Message Fields to Device Fields

Pic  4

Based on the above concept we will see how to set the MOD NAME for the associated screen/MFS.

Below are few steps that one should follow:

Step 1: OPEN the screen in APS PAINTER by going through 2.6 option from ISPF Primary Menu

Step2: Write PM on the edit screen as shown below

Pic 5

Step 3: Write Program name in MID NAME row and formatted message in MOD NAME as shown below.

Pic 6

Step4: Save the changes as suggested above and Compile the APSSCREEN or MFS.

Step5: Run the transaction /FOR <MOD-NAME> in IMS Test region to verify your changes.

/FOR <MOD-NAME> statement does following,

1) Display the associated screen on terminal
2) Corresponding MID,DIF & DOF are active
3) The first field (MFLD) of MID represents the transaction to be initiated, once user key the data the corresponding MPP starts executing to read the message from input queue

Comments are closed.