cobol2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.
                                    -♦-