π‘ Idea Details
IDAA Loader currently requires an explicit SPACE parameter for the allocation of work-related datasets used by IDAA_DUAL, including MAPDDN, ERRDDN, DISCARDDN, and WORKDDN.
In our environment, when these datasets are defined without a fixed SPACE allocation, IDAA_DUAL may issue the following message and fail to complete successfully:
DSNU1036I DSNURELD - UNABLE TO ESTIMATE SPACE REQUIREMENTS FOR DISCARDDN
Although the message may initially refer to DISCARDDN, subsequent executions have shown the same behavior for other work-related datasets. In our tests, IDAA_DUAL completed successfully only after we specified a fixed allocation, such as SPACE(100,100) CYL, for MAPDDN, ERRDDN, DISCARDDN, and WORKDDN.
π Real-Life Scenario and Pain Points
IDAA_DUAL is used to process LOAD workloads for tables with different sizes and data volumes. The amount of space required by its work-related datasets may vary significantly depending on factors such as:
The volume of data being loaded
The characteristics and size of the target table
The number of records discarded or rejected during processing
The specific processing requirements of each LOAD workload
Because IDAA Loader requires a predefined SPACE value, administrators must select a fixed allocation before the actual space requirements are known. A value that is sufficient for one execution may be insufficient for a larger workload or for an execution that produces an unexpectedly high number of discarded records.
This creates two main risks:
β οΈ If the fixed allocation is too small, the dataset may run out of space, causing the job to fail or abend.
β οΈ If the allocation is intentionally oversized, storage resources may be unnecessarily reserved or consumed.
This behavior makes it difficult to define a single allocation value that is both safe and efficient across different tables and workload volumes.
π οΈ Current Workaround
Our current workaround is to specify a fixed SPACE allocation for every work-related dataset used by IDAA_DUAL, including:
For example:
SPACE(100,100) CYL
This workaround allows the job to complete successfully in our current tests. However, it does not provide assurance that the allocated space will be sufficient for executions involving very large LOAD workloads or an unusually high number of discarded records.
As a result, the allocation values may require manual analysis, monitoring, and adjustment for different workloads. This workaround transfers the responsibility for estimating the required space to the customer, even though the exact dataset requirements may not be known before the execution begins.
β
Proposed Solution
We propose that IDAA Loader provide automatic space estimation and allocation for the work-related datasets used by IDAA_DUAL.
Whenever possible, IDAA Loader should determine the required primary and secondary space allocations based on the characteristics and estimated volume of the LOAD workload. The allocation should also support automatic extension when the initial estimate is insufficient.
If fully automatic estimation is not technically feasible for every dataset or processing scenario, IDAA Loader could provide:
A configurable default allocation policy
Dynamically calculated primary and secondary allocation values
Automatic dataset extension based on the actual processing requirements
A mechanism that reduces or eliminates the need to define fixed SPACE parameters manually
π Benefits and Business Value
This enhancement would:
β
Reduce the risk of IDAA_DUAL job failures and abends caused by insufficient dataset space
β
Eliminate or reduce the need to manually estimate SPACE values for each workload
β
Better accommodate variations in table size, LOAD volume, and discarded records
β
Reduce operational effort related to dataset allocation, monitoring, and troubleshooting
β
Avoid unnecessarily large fixed allocations created only as a precaution
β
Improve the reliability and scalability of IDAA_DUAL executions
β
Simplify the use of IDAA Loader in large and dynamic environments
β
Allow customers to process workloads with different characteristics without having to manually calculate allocation values before each execution
π₯ Users Impacted and Frequency
This limitation affects all teams and administrators who use IDAA Loader IDAA_DUAL and need to allocate its work-related datasets.
In our environment, the issue potentially affects every IDAA_DUAL execution, because a fixed SPACE value must be defined regardless of the table size or workload volume.
The operational risk becomes greater during:
Large LOAD executions
Processing of very large tables
Executions involving an unexpectedly high number of discarded or rejected records
Workloads whose volume changes significantly between executions
Therefore, although the current workaround allows the jobs to run, the limitation and its associated risks are present whenever IDAA_DUAL is executed.