|Support for IMS/DC was introduced in CAST AIP 8.3.2019.|
Prototype link between GSAM DBD and JCL dataset
PCB TYPE=GSAM,DBDNAME=GSAM01,PROCOPT=A,PCBNAME=GSAPCB *-------------- PSBGEN ----------------------------------------------* PSBGEN LANG=COBOL,PSBNAME=COBIMSB1 PRINT NOGEN
The Then we have the definition of the DBD IMS file:
Call link between Cobol Program and IMS Transaction
APPLCTN PSB=IMMMBHI,PGMTYPE=TP,SCHDTYP=PARALLEL 06036000 TRANSACT CODE=IMMMBHI,MSGTYPE=(MULTSEG,RESPONSE,65), *06037000 PARLIM=0,SEGNO=400, *06038000 MODE=SNGL,PROCLIM=(03,01) 06039000
In this example, when the TRANSACT macro is created as code, the Mainframe Analyzer will create an IMS transaction object with the code name, then link it to the Cobol program named as PSB = XXX inside the APPLCTN macro.
IMS Transaction Flow
Click to enlarge
Only the CHNG DLI Call could change the value of destination code. The ISRT DLI Call will send the message to LTERM or IMS Transaction:
Click to enlarge
IMS MFS Maps file
|Support introduced in CAST AIP 8.3.25.|
The Mainframe Analyzer will analyze the IMS MFS Maps file (*.mfs) so that it is possible to find out which Cobol programs use an MFS Map:
- MFS Maps are contained in files with the extension *.mfs.
- FMT macro defines the map (called "format" in IMS vocabulary).
- MSG macro defines MID and MOD messages. MID are those that have the INPUT type and MOD are those that have the OUTPUT type.
- MID and MOD identifiers are specified in the IO-PCB.
- In the MID/MOD structure, there is a field that contains the name of the transaction. This information allows the analyzer to create links between MFS Maps and transactions
As a result:
- See Mainframe Discoverer for more information about how the discoverer handles *.mfs files.
- .mfs files have been added to the list of files that will be automatically analyzed - see for example Mainframe - Analysis configuration
- New object types will be resolved - see Mainframe - Analysis results:
|IMS Message Format Service|
|IMS Message Input Descriptor|
|IMS Message Output Descriptor|