compile_unit_name
A compile_unit_name identifies any of the following items:
- An assembler CSECT name
- A C or C++ source file
- A LangX COBOL program
- A COBOL program
- The external procedure name of a PL/I for MVS program
- The package statement or the name of the main procedure, for an Enterprise PL/I program
compiled with one of the following compilers and running in the following
environment:
- Enterprise PL/I for z/OS®, Version 3.6 or later
- Enterprise PL/I for z/OS, Version 3.5 with the PTFs for APARs PK35230 and PK35489 applied
- The name of the source file, for an Enterprise PL/I program compiled with a compiler earlier than Enterprise PL/I for z/OS, Version 3.5 with the PTFs for APARs PK35230 and PK35489 applied.
- For C and C++ only:
- The compile unit name must always be enclosed in quotation
marks ("). For example, the following statement is ambiguous
because the compile unit and a function in that compile unit have
the same name:
To avoid the ambiguity, use the following statement to list the value of the variable var1 correctly scoped to the function CU2:LIST CU2:>CU2:>var1LIST "CU2":>CU2:>var1 - Escape sequences in compile unit names that are specified as strings are not processed if the string is part of a qualification statement.
- The compile unit name must always be enclosed in quotation
marks ("). For example, the following statement is ambiguous
because the compile unit and a function in that compile unit have
the same name:
- For COBOL only:
- Enclose the compile unit name in quotation marks (") or apostrophes (') if it is case sensitive. If the name is not inside quotation marks (") or apostrophes ('), z/OS Debugger converts the name to uppercase.
- For Enterprise PL/I only:
- The compile unit name must be enclosed in quotation marks
(") or apostrophes ('). If your program was compiled with one of the
following compilers and is running in the following environment, you
do not need to enclose the compile unit name in quotation marks (")
or apostrophes ('):
- Enterprise PL/I for z/OS, Version 3.6 or later
- Enterprise PL/I for z/OS, Version 3.5, with the PTFs for APARs PK35230 and PK35489 applied
- The compile unit name must be enclosed in quotation marks
(") or apostrophes ('). If your program was compiled with one of the
following compilers and is running in the following environment, you
do not need to enclose the compile unit name in quotation marks (")
or apostrophes ('):
If the compile unit name is not a valid identifier in the current programming language, it must be entered as a character string constant in the current programming language.
The current compile unit qualification can be changed using the SET
QUALIFY CU command.