CA Inforefiner (PIR) Batch Job using DC/FORMAT for capture IMSLOG (IMSLOGB) failed, after upgrading from IMS V11 to IMS V12.1, with the following error message:
PIR0805C IMS DATA CAPTURE LOG RECORD DATA BLOCK MISSING. BLOCK ID: block ID.
Reason: An expected IMS data capture log record data block was not found in the log record.
Please check the DC Format of your IMS Log file used, because extra fields was added by IMS V12.1 to the log format.
Set the IMSVERSION to 11 versus 12, and run again with the original log file.
To set the IMSVERSION for DC/Format, use the PROC found in HIGHLVL.SRCLIB(PL0DCI).
The PROC keyword is IMSVER=12 or IMSVER=11.
This is also noted in the CA Info Refiner Reference Guide, Chapter: DC/FORMAT.
To set the IMSVERSION for PIR Log Extract function, in the PL0IOPT of the PRE job step, specify as shown:
SERVICE =PROPAGATE FUNCTION =LOGEXTRACT LOGTYPE = IMS LOGFILTER = YES IMSLOGTYPE = BOTH IMSLOGTYPE = ONLINE IMSLOGTYPE = BATCH IMSVERSION = 11 IMSRELEASE = 1 EXPANDTIME = 5