Understanding Program Specialization Lite

Ordinarily, you must turn on the Perform Program Analysis option in the project verification options before verifying the Cobol program you want to specialize. If your application is very large, however, and you know that the specialization variable is never reset, you can save time by skipping program analysis during verification and using the simplified mode to specialize the program, so-called "program specialization lite."

Component Maker gives you the same result for a lite extraction as it would for an ordinary domain extraction in simplified mode, with one important exception. Domain extraction lite cannot calculate the value of a variable that depends on the value of the specialization variable. Consider the following example:

01 X Pic 99.
 01 Y Pic 99.
 ...
 MOVE X To Y.
 IF X = 1
  THEN ...
  ELSE ...
 END-IF.
 ...
 IF Y = 1
  THEN ...
  ELSE ...
 END-IF.

If you set X to 1, both simplified mode and domain extraction lite resolve the IF X = 1 condition correctly. Only simplified mode, however, resolves the IF Y = 1 condition.