6.3.2 Psect Information

The assembly list file can be used to determine the name of the psect in which a data object or section of code has been placed.

For global symbols, you can check the symbol table in the map file which lists the psect name with each symbol. For symbols local to a module, find the definition of the symbol in the list file. For labels, it is the symbol’s name followed by a colon, ‘:’. Look for the first PSECT assembler directive above this code. The name associated with this directive is the psect in which the code is placed (see 6.1.9.39 Psect Directive).