The SQDIMSU Unload utility can be configured as either an IMS Batch or BMP process. JCL similar to sample member SQDIMSU included in the distribution should be used with the appropriate parameter values.
When CF Structures are used for the z/OS System Logstreams, the IMS Unload Utility uses a throttling technique to avoid offloads and keep data in the CF structure until it is Published and consumed by the downstream Engine(s). This provides better performance and more efficient use of CPU instead of having the publisher retrieve data from offloaded datasets. Throttling is controlled by the specification of High and Low Offload percentages for structure utilization. It is important to size CF structures to avoid throttling if possible while at the same time to avoid offloads.
//SQDIMSU JOB 1,MSGLEVEL=(1,1),MSGCLASS=H,NOTIFY=&SYSUID
//*
//*--------------------------------------------------------------------
//* Extract IMS Data to a Publisher Monitored Logstream in CDC Format
//*--------------------------------------------------------------------
//* Required DDNAMEs:
//* DBDSRC - Fully Qualified Name of the IMS DBD Source Member
//* SQDPARMS - Parameters for IMS Database and Target Logstream
//*
//* Required parameters:
//* --database - The Name of the IMS Database being Extracted
//* --dbdsrc - The Fully Qualified Name of the DBD Source Member
//* --zlog - The Target Logstream where IMS Extract Written
// Optional parameter:
//* --ptk=14 - Disables throttling
//*--------------------------------------------------------------------
//*
// SET DBDSRC=SCOTTQ.DBDSRC
// SET DBDMEM=IVPDB2
// SET IMSPROC=USER.PROCLIB
// SET SSID=IVP1
// SET PSB=SQDIVP2
//*
//IMSPROC JCLLIB ORDER=&IMSPROC
//*
//SQDIMSU EXEC PROC=DLIBMPD,SOUT='*',MBR=SQDIMSU,PSB=&PSB,IMSID=&SSID
//DFSSTAT DD SYSOUT=*
//PRINTDD DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SQDLOG DD SYSOUT=*
//*SQDLOG DD DUMMY
//*
//DBDSRC DD DISP=SHR,DSN=&DBDSRC(&DBDMEM)
//SQDPARMS DD *
--database=IVPDB2
--dbd=DD:DBDSRC
--zlog=SQDATA.IMSCDC.LOG1
/*
--ptk=14
- While the sample JCL specifies that the utility will be run as an IMS BMP, the PROCLIB may be changed to run as an IMS Batch Job.
- When CF Structures are used for the z/OS System Logstreams, the IMS Log Capture and IMS Unload Utility components use a throttling technique to avoid offloads and keep data in the CF structure until it is Published and consumed by the downstream Engine(s). This provides better performance and more efficient use of CPU vs having the publisher retrieve data from offloaded datasets. Throttling is controlled by the specification of High and Low Offload percentages for structure utilization. It is important to size CF structures to avoid throttling if possible while at the same time to avoid offloads.