The table below describes the Component Maker domain-based type-specific extraction options.
Option | Language | Description |
---|---|---|
Maximum Number of Variable's Values | COBOL | The maximum number of values to be calculated for each variable. Limit is 200. The lower the maximum, the better performance and memory usage you can expect. |
Maximum Size of Variable to Be Calculated | COBOL | Maximum size in bytes for each variable value to be calculated. The lower the maximum, the better performance and memory usage you can expect. |
Multiple Pass | COBOL, PL/I | Evaluate conditional logic again after detecting dead branches. Because the ELSE branch of the first IF below is dead, for
example, the second IF statement can be resolved in a subsequent pass:
MOVE 0 TO X. IF X EQUAL 0 THEN MOVE 1 TO Y ELSE/p> MOVE 2 TO Y. IF Y EQUAL 2 THEN... ELSE... Note: Multi-pass processing is very resource-intensive, and not recommended for extractions from large programs.
|
Remove Unused Assignments | COBOL, PL/I | Exclude from the component assignments that cannot affect the computation (typically, an assignment after which the variable is not used until the next assignment or port). |
Remove Unused Procedures | PL/I | Exclude unused procedures from the component. |
Replace Procedure Calls by Return Values | PL/I | Substitute the return values of variables for procedure calls in components. |
Replace Variables by Their Calculated Values | COBOL | Substitute the calculated values of variables for the variables themselves. Alternatively, you can print the values as comments.
Note: Notice how the options in Remove Unused Assignments and Replace Variables by Their Calculated Values can interact. If both
options are set, then the first assignment in the following fragment will be removed:
MOVE 1 TO X. DISPLAY X. MOVE 2 TO X. |
Single Pass | COBOL, PL/I | Evaluate conditional logic in one pass. |
VALUEs Initialize Data Items | COBOL | Set variables declared with VALUE clauses to their initial values. Otherwise, VALUE clauses are ignored. |