CICS Interdependency Analyzer (CICS IA) provides batch jobs to unload Command Flow data into CSV files for offline analysis and reporting. The CIUUDB4 job generates QSAM CSV files for the following database tables:
By default, the generated CSV files do not include column headers. This can make the files harder to understand and use in reporting or analytics tools. To address this, CICS IA provides a HEADER parameter in the CIUUDB4 job that allows you to include column headers in the generated CSV files.
This blog walks through the complete end-to-end flow—from data collection to CSV verification—with a focus on enabling CSV headers.
A. Configure a UDB Database
Before generating CSV files with headers, follow these steps to configure the UDB database.
-
Configure the required UDB database.
-
Once the configuration is complete, the required UDB database objects and files are created successfully.

B. Capture Command Flow Data (Execution Flow)
Execute the following steps to generate and collect the command flow data from the CICS region.
-
Log on to the CICS region.
-
Enter transaction CINC to navigate to the CICS IA Command Flow panel.

-
Update the Command Flow ID as required and specify the Transaction Name.
-
Press F5 to start the Command Flow collector.
-
Press F3 to return to the main screen and execute the transaction.
-
After successful execution, press F6 to stop the collector.
-
The number of records collected is displayed on the screen.
C. Load Data from Logstream Files into the Database
Once the logstream CSV or raw data files are generated, the next step is to load the data into the mainframe database tables for reporting and analytics.
This is done using standard Command Flow batch jobs available in the CICSIAD.ATR library.
-
Log in to the mainframe emulator (3270).
-
Connect to your z/OS environment using valid credentials.
-
Submit the Command Flow batch jobs.
-
Navigate to the JCL library: CICSIAD.ATR.REGION NAME
-
Submit the following jobs in sequence:
Follow the steps below to submit the CIUUDB4 job, which unloads Command Flow data from the database into CSV files.
-
Navigate to the UDB Job Submission JCL library.
- Access the JCL library: CICSTS63.*.SCIUSAMP.UDB

-
Locate and open the JCL member CIUUDB4.
- Set the HEADER parameter value “1”.

-
Verify that the job completes successfully with MAXCC = 0002.
E. Verify Header Information in the Generated CSV Files
After the CIUUDB4 job completes successfully, verify the generated CSV files.
-
Check the file CMDFLHDR.CSV for command flow data.
-
This file should now include data along with the header details.
-
Check the file CMDINHDR.CSV for the command flow index table data.
-
This file should also include data along with the header details.
F. Verify Output in CICS IA and Database
Execute the following steps to view the data on the client side on the CICS IA plug-in
-
Open z/OS Explorer to view the command flow execution details.
-
Connect to Data Studio to verify that the header file creation is in the database tables.
You can now clearly observe the difference between CSV files generated without headers and CSV files generated with headers (HEADER=1).
CSV File without Header for CIU_CMDFLOW_DATA Table:
CSV File with Header for CIU_CMDFLOW_DATA Table:
CSV File with Header for CIU_ CMDFLOW_INDEX Table:
QA Engineer – CICS IA
⚡️IBM z17 is here! Powered by the new IBM Telum II processor, IBM z17 makes more possible, empowering organizations to drive innovation and do more with their data while processing sixty percent more transactions per day than IBM z16. See what sets IBM z17 apart here.
