Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

List of CSECTs (2.6.1)


The List of CSECTs screen (2.6.1) displays the names of CSECTs used in a program, as well as the offset, length, and address of each CSECT within the load module. You can specify a different module name by overtyping any of the listing fields. The SELECT primary command can be used to select a CSECT and position it to the top of the display.

Access this screen by typing 1 on the CSECT/Function Display Menu (2.6), or type =2.6.1 in the COMMAND field.

List of CSECTs Screen (2.6.1)

 ------------------------------- LIST OF CSECTS (2.6.1) -------------------C024
COMMAND ===>                                                   SCROLL ===> CSR
MODULE: CWDEMCB2 CSECT: CWDEMCB2          COMPILED: 28 MAY 2003 - 11.11.29

LINE COMMANDS:  D (Deselect)  S (Select)  I (Intercept)  V (View Source)
LOADED FROM LIBRARY: XD.TEST.R80.CX820.LOADLIB                                 
CMD CSECT             LISTING   SEL     OFFSET    LENGTH    ADDRESS   ERROR
----------------------------------------------------------------------------
     DFHECI                     EXCL    00000000  00000048  38CEC100
 _   CWDEMCB2         CWDEMCB2  INTR    00000048  00001C48  38CEC148
 _   CWCDSUBA         XWCDSUBA  YES     00001C90  000000C1  38CEDD90
     IGZEBST                    EXCL    00001D58  00000490  38CEDE58
     **END**

Input Field

CMD

This field is used to select and deselect CSECTs. The following line commands are valid on this screen:

  • S: Select this CSECT. After you press Enter, the SELECTED field shows a value of YES for the CSECT that was selected. When a CSECT has been selected, an entry is made in the CSECT selections table. This entry appears on the CSECT Selections screen (2.6.2).
  • D: Remove the selection of this CSECT. A value of NO appears in the SELECTED field for this CSECT after you press Enter and deletes the entry from the CSECT Selections screen.
  • I: Intercept this CSECT, select the CSECT, and set a breakpoint at the entry point for it.
  • V: Transfer to the 2.L screen and displays the source for the specified CSECT.

Output Fields

CSECT

This field shows the names of all CSECTs contained in the application program.

LISTING

This field allows you to specify the listing name by overtyping the current value if it differs from the CSECT name.

SELECTED

This field shows the status of the CSECT. Possible values are:

  • NO: CSECT is not selected.
  • YES: CSECT is selected.
  • EXCLUDED: CSECT was excluded on the 9.5 screen and cannot be selected. The CMD field is protected from input.
  • INTRCEPT: CSECT is selected and a break has been set at the entry point for the CSECT.

OFFSET

Shows the hexadecimal offset of each CSECT relative to the beginning of the module.

LENGTH

Shows the hexadecimal length of each CSECT contained in the module.

ADDRESS

Shows the address of each CSECT within the module.

ERROR

Indicates NO SOURCE if no source listing exists for the CSECT. You can only set an Intercept if source exists for the CSECT.

Long Mixed Case CSECT Name Display

To view long mixed case CSECT names, enter the RIGHT command (PF11) on the List of CSECTs screen (2.6.1). Long CSECT names will be displayed as displayed in the following figure.

List of CSECTs Screen Displaying Long Name Format

-------------------------------- LIST OF CSECTS (2.6.1) -------------------C024
COMMAND ===>                                                   SCROLL ===> CSR
MODULE: LNDEMC   CSECT: CPWR_Main-C_Code  COMPILED: 30 MAY 2007 - 16:22:18

LINE COMMANDS:  D (Deselect)  S (Select)  I (Intercept)  V (View)
LOADED FROM LIBRARY: XD.TEXT.R80.CX820.LOADLIB
CMD  CSECT            LONG CSECT NAME (1st 55 characters)
---  ---------------- ------------------------------------------------------
 _   CPWR_Main-C_Code CPWR_Main_Demo_C_Code
 _   Extern_CO-outine Extern_COBOL_Subroutine
 _   LNSUBPL          LNSUBPL
 _   CPWR_Exte-e_Code CPWR_Extern_C_Subroutine_Code
 _   chWsTSQName      chWsTSQName
 _   MAIN_EYECATCHER  MAIN_EYECATCHER
     CEEMAIN          CEEMAIN
 _   SUB_EYECATCHER   SUB_EYECATCHER
      @@DLLI           @@DLLI
      @@PPA2           @@PPA2
     IEWBLIT          IEWBLIT
     IEWBCIE          IEWBCIE
     WSA              WSA
     ***** END *****



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*