Previous Topic: CSECTNext Topic: CSECTEXCLUDE


Syntax

CSECT
Example

This example creates a CSECT cross-reference report for all CSECTS in a load library, listing all the load modules in which the CSECT is included. The load library referenced by the ddname LOADLIB is used.

LOADINFO,
  CSECT

CSECTCOMPARE

The CSECTCOMPARE keyword controls how CSECTs are compared. Possible values are BYNAME and BYORDER.

Syntax

CSECTCOMPARE(BYNAME|BYORDER)

Parameters

CSECTCOMPARE supports the following parameters:

BYNAME

CSECTs with identical names are compared. CSECTs that only exist in the old file are reported as deleted. CSECTs that only exist in the new file are reported as inserted. This is the default value.

BYORDER

CSECTs are compared in the order in which they appear in the program.

Example

This example compares the CSECTs of 2 programs by name, not by the order in which they appear in the program.

COMPARE PROGRAM,
  CSECTCOMPARE(BYNAME)