Execution data sets

The execution data sets are used during the execution of the IMS system and its related utilities. These data sets are user data sets which are not known to SMP/E.

ACBLIB data sets

The ACBLIB data sets contain the application description and database control blocks. The ACBLIB data sets include:
  • IMS.ACBLIB
  • IMS.ACBLIBA
  • IMS.ACBLIBB
The ACBLIB data sets require space for each PSB and all unique physical DBDs.

In systems that share data, the ACBLIBs in both systems must be identical, or the systems must share the same ACBLIB.

DBDLIB data set

The IMS.DBDLIB data set contains the database description blocks (DBDs) that are created by the Database Description Generation (DBDGEN) utility.

DBRC RECON data sets

The RECON data sets contain system restart and recovery information. The RECON data sets include:
  • IMS.RECON1
  • IMS.RECON2
  • IMS.RECON3

FORMAT data sets

The FORMAT data sets contain MFS definitions. The FORMAT data sets include:
  • IMS.FORMAT
  • IMS.FORMATA
  • IMS.FORMATB
  • IMS.REFERAL
  • IMS.TFORMAT

IMS.REFERAL,IMS.FORMAT, and IMS.TFORMAT are initialized during stage 2 of IMS system definition. IMS.FORMATA and IMS.FORMATB are created by copying the staging library, IMS.FORMAT. You must allocate one additional track for each user-defined format/message descriptor set for the IMS.FORMAT, IMS.REFERAL, and IMS.TFORMAT data sets.

Log data sets

The log data sets include:
  • IMS.DFSOLPnn
  • IMS.DFSOLSnn
  • IMS.DFSWADSn
  • IMS.IEFRDER
  • IMS.IEFRDER2
  • IMS.IMSMON
  • IMS.MSDBCP1
  • IMS.MSDBCP2
  • IMS.MSDBCP3
  • IMS.MSDBCP4
  • IMS.RDS
  • IMS.RDS2

Message queue data sets

The message queue data sets are used for message queuing. The message queue data sets include:
  • IMS.LGMSG
  • IMS.LGMSG1-LGMSG9
  • IMS.LGMSGL
  • IMS.MODSTAT
  • IMS.QBLKS
  • IMS.QBLKSL
  • IMS.SHMSG
  • IMS.SHMSG1-SHMSG9
  • IMS.SHMSGL

MSDB data sets

MSDB data sets contain information associated with MSDB databases. The MSDB data sets include:
  • IMS.MSDBCP1
  • IMS.MSDBCP2
  • IMS.MSDBCP3
  • IMS.MSDBCP4
  • IMS.MSDBDUMP
  • IMS.MSDBINIT

Online change data sets

The online change data sets include:
  • IMS.MODSTAT
  • IMS.MODSTAT2
  • IMSPLEX.OLCSTAT

PGMLIB data sets

The IMS.PGMLIB data set contains user-written application programs. This dataset can be a PDS or a PDSE.

Restriction: COBOL5 requires all load modules to be in a PDSE.

PSBLIB data sets

The IMS.PSBLIB data set contains the program specification blocks (PSBs) created by the Program Specification Block Generation (PSBGEN) utility.

SYSOUT data sets

SYSOUT data sets include:
  • IMS.SYSOnnn data set
  • Direct output data sets

Trace data sets

Trace data sets contain output from IMS internal tracing. The trace data sets include:
  • IMS.DFSTRA01
  • IMS.DFSTRA02
  • IMS.DFSTRA0T

IMS.ACBLIB

ACBLIB contains the application control blocks (ACBs) that are created by the Application Control Blocks Maintenance (ACBGEN) utility. Its contents are copied by the Online Change Copy utility to either the IMS.ACBLIBA data set or the IMS.ACBLIBB data set.

This data set has the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User choice. The default is 6144.

IMS.ACBLIBA, IMS.ACBLIBB

ACBLIBA and ACBLIBB contain ACBLIB members. When one of these libraries is active (in use by the online system), the contents of IMS.ACBLIB are copied to the other, or inactive, library for use in the next online change run.

IMS.ACBLIBA or IMS.ACBLIBB can be brought online by a sequence of master terminal operator /MODIFY commands.

If you specify DOPT in the APPLCTN macro, concatenate the library that contains these PSBs after the library that contains the non-DOPT PSBs (that is, after the library pointed to by the IMS.ACBLIBA or IMS.ACBLIBB DD statements). The order of concatenation must be the same for the IMS.ACBLIBA and IMS.ACBLIBB data sets.

These data sets have the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User choice. The default is 6144.

IMS.DBDLIB

DBDLIB contains the database description blocks (DBDs) that are created by the Database Description Generation (DBDGEN) utility. Each DBD (one per database) requires approximately 1500 bytes to 2500 bytes of direct-access storage. Exact requirements depend on the number of data set groups, segments, fields, and hierarchic levels.

This data set has the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User choice. The default is 6144.

IMS.DFSOLPnn, v.DFSOLSnn

DFSOLPnn and DFSOLSnn are the online log data sets (OLDS) that are used by the IMS online systems. OLDSs can occur singly (SNGL) or in pairs (DUAL). DFSOLPnn is the primary (or SNGL) OLDS. DFSOLSnn is the secondary OLDS. The nn suffix can range from 00 to 99. A minimum of 3 OLDSs (SNGL or DUAL) must be available to start IMS. The OLDSs do not support compression.

These data sets have the following attributes:
DSORG
Sequential
RECFM
VB
LRECL
BLKSIZE-4
BLKSIZE
Multiple of 2048 greater than or equal to 6144. These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified. Choose a block size that results in from 1 to 4 blocks per track.

IMS.DFSTRA01, IMS.DFSTRA02

DFSTRA01 and DFSTRA02 are the external trace data sets that are used by the IMS online systems. The two data sets are used when the trace table OUT parameter is used in the DFSVSMxx OPTIONS statement or when the /TRACE SET ON TABLE nnn OPTION LOG command is used. When DFSTRA01 fills, DFSTRA02 is used; when DFSTRA02 fills, DFSTRA01 is used.

These data sets have the following attributes:
DSORG
Sequential
RECFM
VB
LRECL
4016
BLKSIZE
(LRECL x n) + 4. The block size must be a multiple of the LRECL (4016), with an additional 4 bytes for the block descriptor word.
Recommendation: Use a BLKSIZE of 20 084, which is 5 logical records (4016 x 5) plus the block descriptor word (4). The BLKSIZE of 20 084 is recommended for current DASD, because it is 1/2 track.
These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

IMS.DFSTRA0T

If you use tape for the external trace data set, you must use DFSTRA0T instead of DFSTRA01 and DFSTRA02.

DFSTRA0T must be dynamically allocated.

This data set has the following attributes:
DSORG
Sequential
RECFM
VB
LRECL
4016
BLKSIZE
(LRECL x n) + 4

IMS.DFSWADSn

DFSWADSn are the write-ahead data sets (WADS) used by the IMS online systems. WADS can occur singly (SNGL) or in pairs (DUAL), but primary or secondary concepts do not apply as they do with OLDS. The n suffix can range from 0 to 9. To start IMS, a minimum of 1 WADS must be available.

These data sets have the following attributes:
DSORG
VSAM linear
RECFM
F
LRECL
4096
BLKSIZE
4096
These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

IMS.FORMAT

FORMAT contains the Message Format Service (MFS) blocks created by the MFS Language utility. Its contents are copied by the Online Change Utility to either IMS.FORMATA or IMS.FORMATB.

This data set has the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User choice. Default 6144. The FORMAT, FORMATA, FORMATB, and TFORMAT data sets must all have the same BLKSIZE.

IMS.FORMATA, IMS.FORMATB

FORMATA and FORMATB contain FORMAT members. When one of these libraries is active (in use by the online system), the contents of IMS.FORMAT are copied to the other, or inactive, library for use in the next online change run.

IMS.FORMATA or IMS.FORMATB can be brought online by a sequence of master terminal operator /MODIFY commands.

These data sets have the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User choice. The default is 6144. The FORMAT, FORMATA, FORMATB, and TFORMAT data sets must all have the same BLKSIZE.

IMS.IEFRDER, IMS.IEFRDER2

IEFRDER typically refers to the primary IMS batch log. IEFRDER2 typically refers to the secondary IMS batch log. They can also refer to the input data set in the IMSRDR procedure.

In batch logging, these data sets have the following attributes:
DSORG
Sequential
RECFM
VB
LRECL
BLKSIZE-4
BLKSIZE
User choice between 4 KB and 32 KB
Recommendation: Choose a block size that is a 2 KB multiple greater than or equal to 6 KB.

IMS.IMSDALIB

IMSDALIB defines the non-authorized partitioned data set (PDS) in which members to be dynamically allocated can be stored. Examples include RECON definitions, database definitions, and anything that is in a DFSMDA member.

This data set has the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User choice
Note: The default is 6144.

IMS.IMSMON

IMSMON contains the trace records for either the DB Monitor or IMS (System) Monitor if the trace records are not routed to the IMS log.

This data set has the following attributes:
DSORG
Sequential
RECFM
VB
LRECL
BLKSIZE-4
BLKSIZE
User choice
Recommendation: Choose a block size that is a 2 KB multiple greater than or equal to 6 KB.

IMS.MODSTAT

MODSTAT contains information to indicate which of the following suffixed data sets the IMS online system must use at initialization time. MODSTAT must be the ddname for these data sets.
  • ACBLIBA or ACBLIBB
  • FORMATA or FORMATB
  • MODBLKSA or MODBLKSB
This data set has the following attributes:
DSORG
Sequential
RECFM
F
LRECL
80
BLKSIZE
80

This data set is a single-record BSAM data set and requires one track of storage.

Before the IMS system can be run, you need to initialize IMS.MODSTAT.

IMS.MODSTAT2

MODSTAT2 is used only in an XRF complex; this data set is identical in function to IMS.MODSTAT. Its ddname must be MODSTAT2. As with MODSTAT, you need to initialize this data set before the IMS system can run.

This data set has the following attributes:
DSORG
Sequential
RECFM
F
LRECL
80
BLKSIZE
80
This data set is a single-record BSAM data set and requires one track of storage.

IMS.MSDBCP1, IMS.MSDBCP2

MSDBCP1 and MSDBCP2 are required if MSDBs are defined to the system. During each IMS checkpoint, a control record followed by the contents of the contiguous block of virtual storage occupied by the MSDBs is written to one of these data sets. The data sets are used alternately by successive checkpoints, with each subsequent checkpoint overlaying a previous one.

These data sets have the following attributes:
DSORG
Sequential
RECFM
Determined by IMS
LRECL
Determined by IMS
BLKSIZE
Determined by IMS
These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

IMS.MSDBCP3, IMS.MSDBCP4

MSDBCP3 and MSDBCP4 are used only in an XRF complex; these data sets are identical in function to MSDBCP1 and MSDBCP2. With XRF, any two of the four data sets can contain the latest MSDB checkpoint. Although an active subsystem can select the data set containing the latest MSDB checkpoint and any other, the alternate subsystem must select the two data sets not used by the active subsystem.

These data sets have the following attributes:
DSORG
Sequential
RECFM
Determined by IMS
LRECL
Determined by IMS
BLKSIZE
Determined by IMS
These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

IMS.MSDBDUMP

MSDBDUMP is required when the command /DBDUMP specifies database MSDB. This command causes a dump of all MSDBs to be written to this data set. The contents are identical to that of MSDBCPx. Successive executions of the command cause the previous contents to be overlaid.

This data set has the following attributes:
DSORG
Sequential
RECFM
Determined by IMS
LRECL
Determined by IMS
BLKSIZE
Determined by IMS
This data set must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

IMS.MSDBINIT

MSDBINIT is required for an IMS system that includes MSDBs. This data set contains a record for each MSDB segment. It is read during all cold starts and during a normal restart if the MSDBLOAD parameter is specified for the /NRESTART command. It is produced by executing the MSDB Dump Recovery or MSDB Maintenance utility. MSDBINIT can contain one, several, or all MSDBs defined.

This data set has the following attributes:
DSORG
Sequential
RECFM
VBT
LRECL
BLKSIZE-4
BLKSIZE
User choice
This data set must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

IMS.PGMLIB

PGMLIB contains user-written application programs.

This data set has the following attributes:
DSORG
Partitioned or Partitioned Extended (PDSE)
RECFM
U
LRECL
0
BLKSIZE
User choice. Default 6144.

IMSPLEX.OLCSTAT

OLCSTAT is an optional data set that contains global online change information and status. OLCSTAT is a global data set that is dynamically allocated by IMS. The MODSTAT and MODSTAT2 data sets do not need to be defined in the IMS control region JCL when OLCSTAT is used.

To enable global online change, OLCSTAT must be defined instead of the local MODSTAT data set. All IMS systems in an IMSplex must define the same physical OLCSTAT data set. Otherwise, IMS initialization fails. OLCSTAT is required if OLC=GLOBAL is defined.

To initialize the OLCSTAT data set, run the Global Online Change utility, DFSUOLC0.

This data set has the following attributes:
DSORG
Sequential
RECFM
V
LRECL
5204
BLKSIZE
Default 5208

IMS.PSBLIB

PSBLIB contains the program specification blocks (PSBs) created by the PSBGEN utility. Each PSB (one per program) requires approximately 250 bytes to 500 bytes of direct-access storage. Exact requirements depend on the number of I/O PCBs and databases (PCBs) in the PSB and the number of sensitive segments. This data set is required in DB and DB/DC systems.

This data set has the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User choice. Default 6144.

IMS.QBLKS, IMS.SHMSG/1-9, IMS.LGMSG/1-9

QBLKS, SHMSG, and LGMSG are required by the IMS DB/DC system for message queuing. Space requirements for message queue data sets vary with the system environment.

These data sets have the following attributes:
DSORG
Sequential
RECFM
Determined by IMS
LRECL
Determined by IMS
BLKSIZE
Determined by IMS
These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

For SHMSG and LGMSG, up to 10 data sets can be provided for each. Multiple message queue data sets provide for configuration flexibility and performance.

If you use multiple data sets, you must do the following:
  • Add the data sets in sequence, with SHMSG or LGMSG specified first.
  • Specify the same space allocation for all data sets. Even if you allocate different amounts for multiple data sets, the smallest amount specified is the amount used for all data sets. For example, if four data sets are allocated with 600, 600, 500, and 400 cylinders respectively, the actual total available space is 1600 cylinders (4 X 400), rather than 2100 cylinders (the sum of the allocated amounts). Records are assigned to the data sets cyclically; thus, the smallest space allocated controls the amount of space for all, which in turn determines the total space available and the highest valid record number.
The DD names for the data sets must be:
  • For SHMSG:
    • SHMSG
    • SHMSG1
    • SHMSG2
    • SHMSG3
    • SHMSG4
    • SHMSG5
    • SHMSG6
    • SHMSG7
    • SHMSG8
    • SHMSG9
  • For LGMSG:
    • LGMSG
    • LGMSG1
    • LGMSG2
    • LGMSG3
    • LGMSG4
    • LGMSG5
    • LGMSG6
    • LGMSG7
    • LGMSG8
    • LGMSG9

IMS.QBLKSL, IMS.SHMSGL, IMS.LGMSGL

QBLKSL, SHMSGL, and LGMSGL are used only in an XRF complex; these data sets are similar in function to the regular message queue data sets. These data sets are always cold started and used as local message queues on an XRF alternate subsystem, from startup until completion of takeover, when the regular message queues become available. The DCB specification for the local message queue data sets must match the regular message queue data sets. However, the local message queues can be much smaller. The local message queues must be large enough to hold the shutdown message margin, plus primary and secondary IMS master terminal messages until they are dequeued.

These data sets have the following attributes:
DSORG
Sequential
RECFM
Determined by IMS
LRECL
Determined by IMS
BLKSIZE
Determined by IMS
These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

IMS.RDS

The restart data set (RDS) contains information required for recovery, including the checkpoint ID table required for restarting IMS. The RDS also contains OSAM and VSAM buffer pool definition changes made by the UPDATE POOL TYPE(DBAS) command to be retained across emergency restart. However, RDS does not contain any log records.

This data set has the following attributes:

DSORG
Sequential
RECFM
Determined by IMS
LRECL
Determined by IMS
BLKSIZE
Determined by IMS

The BLKSIZE value is set to the buffer size as specified in the RDS= parameter in the DFSPBxxx member of the IMS PROCLIB data set or in JCL. The default is 4 KB.

You should allocate a minimum of one cylinder of contiguous tracks to this data set. The data set must be allocated large enough to contain at least 90 blocks reserved for RDS1 components BCPT, RRE, SIDX, and LCRE.

IMS.RDS2

RDS2 is used only in an XRF complex; this data set is identical in function to IMS.RDS.

This data set has the following attributes:
DSORG
Sequential
RECFM
Determined by IMS
LRECL
Determined by IMS
BLKSIZE
Determined by IMS

The BLKSIZE value is set to the buffer size as specified in the RDS= parameter in the DFSPBxxx member of the IMS PROCLIB data set or in JCL. The default is 4 KB.

You should allocate a minimum of one cylinder of contiguous tracks to this data set. The data set must be allocated large enough to contain at least 90 blocks reserved for RDS1 components BCPT, RRE, SIDX, and LCRE.

Do not manage either RDS with a migration or recall system that might recall the data set to a volume other than the one to which it was originally allocated. If you do so, IMS might be unable to warm start or emergency start the system.

IMS.RECON1, IMS.RECON2, IMS.RECON3

RECON1, RECON2, and RECON3 data sets contain system restart and recovery information managed by the Database Recovery Control (DBRC) function.

These data sets have the following attribute:
DSORG
VSAM KSDS

IMS.REFERAL

REFERAL contains intermediate text copies of descriptions supplied to the MFS Language utility.

This data set has the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
FB
LRECL
80
BLKSIZE
Multiple of 80

IMS.SYSOnnn

The SYSOnnn DASD data sets are used to store spool SYSOUT data. The contents of these data sets can be printed using the SPOOL SYSOUT Print utility. This utility is either scheduled automatically or must be submitted manually, depending upon an option in the LINEGRP system definition macro. nnn is a one- to three-digit suffix assigned sequentially by IMS during system definition.

This data set has the following attributes:
DSORG
Sequential
RECFM
UM

These data sets must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.

These data sets must be initialized before they are used by IMS. For example, these data sets can be allocated on the SYSUT2 DD statement for the IEBGENER utility. Use DD DUMMY for SYSUT1. Specify DCB attributes for both SYSUT1 and SYSUT2.

IMS.TFORMAT

TFORMAT contains the online MFS descriptors, created by the MFS Language utility, for MFSTEST (test mode) online execution.

This data set must be concatenated in front of FORMATA or FORMATB in the IMSTFMTA or IMSTFMTB DD statements in the IMS execution procedure.

If you change MFS formats online, two DD statements must point to this TFORMAT data set, or the DD statements can point to two separate TFORMAT data sets.

This data set has the following attributes:
DSORG
Partitioned
DSNTYPE
PDS
RECFM
U
LRECL
0
BLKSIZE
User Choice. Default 6144. The FORMAT, FORMATA, FORMATB, and TFORMAT data sets must all have the same BLKSIZE.

This data set must be allocated as a single extent (contiguous tracks). Secondary allocation must not be specified.