The XINFO option specifies that the compiler should generate additional files with extra information about the current compilation unit.
.-+---+---------. | '-,-' | V .-NODEF-. | >>-XINFO--(----+-+-DEF---+-+-+--)------------------------------>< | .-NOMSG-. | +-+-MSG---+-+ | .-NOSYM-. | +-+-SYM---+-+ | .-NOSYN-. | +-+-SYN---+-+ | .-NOXMI-. | +-+-XMI---+-+ | .-NOXML-. | '-+-XML---+-'
Under batch, this file is written to the file specified by the SYSDEFSD DD statement. Under z/OS UNIX Systems Services, this file is written to the same directory as the object deck and has the extension "def".
For instance, given the program:
defs: proc;
dcl (b,c) ext entry;
dcl x ext fixed bin(31) init(1729);
dcl y ext fixed bin(31) reserved;
call b(y);
fetch c;
call c;
end;
The following def file would be produced:
EXPORTS CODE
DEFS
EXPORTS DATA
X
IMPORTS
B
Y
FETCH
C
The def file can be used to be build a dependency graph or cross-reference analysis of your application.
Under batch, the ADATA file is generated to the file specified by the SYSADATA DD statement. Under z/OS UNIX, the ADATA is generated in the same directory as the object file and has an extension of adt.
Under batch, the ADATA file is generated to the file specified by the SYSADATA DD statement. Under z/OS UNIX, the ADATA file is generated in the same directory as the object file and has en extension of adt.
Under batch, the ADATA file is generated to the file specified by the SYSADATA DD statement. Under z/OS UNIX, the ADATA file is generated in the same directory as the object file and has en extension of adt.
Under batch, this file is written to the file specified by the SYSXMI DD statement. Under z/OS UNIX Systems Services, this file is written to the same directory as the object deck and has the extension "xmi".
Under batch, this file is written to the file specified by the SYSXMLSD DD statement. Under z/OS UNIX Systems Services, this file is written to the same directory as the object deck and has the extension "xml".
The DTD file for the XML produced is:
<?xml encoding="UTF-8"?> <!ELEMENT PACKAGE ((PROCEDURE)*,(MESSAGE)*,FILEREFERNCETABLE)> <!ELEMENT PROCEDURE (BLOCKFILE,BLOCKLINE,(PROCEDURE)*,(BEGINBLOCK)*)> <!ELEMENT BEGINBLOCK (BLOCKFILE,BLOCKLINE,(PROCEDURE)*,(BEGINBLOCK)*)> <!ELEMENT MESSAGE (MSGNUMBER,MSGLINE?,MSGFILE?,MSGTEXT)> <!ELEMENT FILE (FILENUMBER,INCLUDEDFROMFILE?,INCLUDEDONLINE?,FILENAME)> <!ELEMENT FILEREFERENCETABLE (FILECOUNT,FILE+)> <!ELEMENT BLOCKFILE (#PCDATA)> <!ELEMENT BLOCKLINE (#PCDATA)> <!ELEMENT MSGNUMBER (#PCDATA)> <!ELEMENT MSGLINE (#PCDATA)> <!ELEMENT MSGFILE (#PCDATA)> <!ELEMENT MSGTEXT (#PCDATA)> <!ELEMENT FILECOUNT (#PCDATA)> <!ELEMENT FILENUMBER (#PCDATA)> <!ELEMENT FILENAME (#PCDATA)> <!ELEMENT INCLUDEFROMFILE (#PCDATA)> <!ELEMENT INCLUDEDONLINE (#PCDATA)>