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.
SEGCROSS (↑ Object Code)
 Key Details                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Directive:    SEGCROSS
 
  Function:     Tells the compiler which Linkage Section records cross
                segment boundaries. This improves efficiency by
                preventing the compiler generating boundary-crossing
                code except for these records.
 
  Syntax:
 
     ─┬───┬─┬────┬─SEGCROSS─┬──────────┬──────
        └─/─┘ └─NO─┘          └"integers"┘
 
  Parameters:   integers             One or more integers giving the
                                     ordinal positions of Linkage Section
                                     items.
 
  Default:      NOSEGCROSS           (For a program with less than 64K
                                     of its own data)
 
                SEGCROSS             (For a program with 64K or more of its
                                     own data)
 
  Phase:        Generate
 
  $SET:         Initial
                                    -♦-