cobol2.hlp (Table of Contents; Topic list)
Object Code, Size & Optimization (↑ Compiler Directives)
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     These directives change the object code produced without changing
     the logic of your program.
 
  ┌──Size & speed─────────────────────┐  ┌──Interprogram communication─────┐
  │01SHUFFLE  Segment boundaries    │  │LITLINK      Literals public   │
  │64KSECT    Segment breaking      │  │LITVAL-SIZE  BY VALUE size     │
  │BADSIGNS   Illegal sign nibbles  │  │REGPARM      Parameter passing │
  │CHIP       Chip architecture     │  │RTNCODE-SIZE RETURN-CODE size  │
  │CICSOPT*   Optimize BLL cells    │  │SEGCROSS     Params on segments│
  │DATALIT    Literals in data seg. │  │SMALLDD      Params in segments│
  │EXPANDDATA Program compression   │  └─────────────────────────────────┘
  │FIXING     Optimizing jumps      │
  │LINKCOUNT  Number of linked items│  ┌──File handling──────────────────┐
  │MODEL      Model type            │  │CALLFH*   External file handler│
  │OBJLITE    Assembler-like code   │  │CALLSORT  External file handler│
  │OPT        Optimization level    │  │WRITETHROUGH* Unbuffered writes│
  │OPTSIZE    Optimize for size     │  └─────────────────────────────────┘
  │OPTSPEED   Optimize for speed    │
  │PROTMODE   Protect mode only     │  ┌──Object file format─────────────┐
  │SEG        Segmentation          │  │OMF       OBJ or GNT           │
  │SEGSIZE    Automatic segmentation│  │REALOVL   Overlaying from disk │
  │TARGET     Chip specific instrs. │  └─────────────────────────────────┘
  └───────────────────────────────────┘
 
      For more optimization, see also "Features affecting speed" in
      Allowing Language Features and "Behavior
      affecting speed and size" in Choosing Run-time Behavior.
                                    -♦-