Remote build impact analysis query results

You can return impact analysis query results obtained from the rccbuild command to the distributed system, This topic explains query results and provides examples of query input and the results returned.

Results for INC_CPY

Query input

The following INC_CPY query input submits an impact analysis request for two COBOL source files.
HLQ=USERID  
TYPE=INC_CPY  
USERID.TSC.CBL                                PGM2  
USERID.TSC.CBL                                PGM1 

Query output

The query results list the copybooks included in each COBOL source file underneath the source file name.
USERID.TSC.CBL                                PGM1
USERID.PROJ1.COBOL.CPY                        COPYONE
USERID.PROJ1.COBOL.CPY                        COPY2
USERID.PROJ1.COBOL.CPY                        COPY3
USERID.PROJ2.COBOL.CPY                        COPY4
USERID.PROJ2.COBOL.CPY                        COPY5
USERID.TSC.CBL                                PGM2
USERID.PROJ1.COBOL.CPY                        COPYONE
USERID.PROJ1.COBOL.CPY                        COPY2
USERID.PROJ1.COBOL.CPY                        COPY3
USERID.PROJ2.COBOL.CPY                        COPY4
USERID.PROJ2.COBOL.CPY                        COPY5
USERID.PROJ1.COBOL.CPY                        COPY6
USERID.PROJ1.COBOL.CPY                        COPY7
USERID.PROJ1.COBOL.CPY                        COPY8
USERID.PROJ1.COBOL.CPY                        COPY9
USERID.PROJ2.COBOL.CPY                        COPY10
USERID.PROJ2.COBOL.CPY                        COPY11
USERID.PROJ2.COBOL.CPY                        COPY12

Results for INC_SRC

Query input

The following INC_SRC query input submits an impact analysis request for one COBOL copybook.
HLQ=USERID
TYPE=INC_SRC
USERID.PROJ1.COBOL.CPY                        COPY2

Query output

The query results list the COBOL source files that include the copybook.
USERID.TSC.CBL                                PGM2
USERID.TSC.CBL                                PGM1

Results for XCALL_SRC

Query input

The following XCALL_SRC query input submits an impact analysis request for one externally visible symbol name.
HLQ=USERID
TYPE=XCALL_SRC

PGM3

Query output

The query results list the source files that refer to the symbol. The results are returned in five columns as shown in the following example:
PGM3    USERID.IA.COBPRJ2A.SRC      CALL1A      LOCALREF   EXTTYCER
  • Column 1 is the input symbol to query for source files.
  • Column 2 contains the data set name of the returned source files.
  • Column 3 contains the member name of the returned source files.
  • Column 4 contains the external call dependencies locality flag. The locality flag describes how the symbol is referenced in the source file. Possible values include:
    • LOCALDEF - The queried symbol is defined here.
    • LOCALREF - The queried symbol is referenced here.
    • LOCALNKN - The locality is unknown, as for call-by-identifier or an entry variable.
    • LOCALUND - The locality is undefined.
  • Column 5 contains the external call dependencies symbol type. Possible values include:
    • EXTTYCPG - COBOL program
    • EXTTYC2E - COBOL secondary entry point
    • EXTTYCER - COBOL call to an external entry point
    • EXTTYCCI - COBOL call through a variable, such as call-by-identifier
    • EXTTYPPR - PL/I procedure
    • EXTTYP2E - PL/I secondary entry point
    • EXTTYPER - PL/I call to an external entry point
    • EXTTYPEV - PL/I ENTRY variable
    • EXTTYACR - Assembler CSECT or RSECT
    • EXTTYA2E - Assembler secondary ENTRY point
    • EXTTYAEV - Assembler EXTRN or V-constant
    • EXTTYAWX - Assembler WXTRN

Results for XCALL_SYM

Query input

The following XCALL_SYM query input submits an impact analysis request for one COBOL source file.
HLQ=USERID
TYPE=XCALL_SYM

USERID.IA.COBPRJ2A.SRC	CALL1A

Query output

The query results list the externally visible symbol name referred to by the source file. The results are returned in five columns as shown in the following example:
USERID.IA.COBPRJ2A.SRC   CALL1A   MAINPGM   LOCALDEF   EXTTYCPG
  • Column 1 is the data set name of the query input.
  • Column 2 is the member name of the query input.
  • Column 3 contains the symbol name.
  • Column 4 contains the external call dependencies locality flag. The locality flag describes how the symbol is referenced in the source file. Possible values include:
    • LOCALDEF - The queried symbol is defined here.
    • LOCALREF - The queried symbol is referenced here.
    • LOCALNKN - The locality is unknown, as for call-by-identifier or an entry variable.
    • LOCALUND - The locality is undefined.
  • Column 5 contains the external call dependencies symbol type. Possible values include:
    • EXTTYCPG - COBOL program
    • EXTTYC2E - COBOL secondary entry point
    • EXTTYCER - COBOL call to an external entry point
    • EXTTYCCI - COBOL call through a variable, such as call-by-identifier
    • EXTTYPPR - PL/I procedure
    • EXTTYP2E - PL/I secondary entry point
    • EXTTYPER - PL/I call to an external entry point
    • EXTTYPEV - PL/I ENTRY variable
    • EXTTYACR - Assembler CSECT or RSECT
    • EXTTYA2E - Assembler secondary ENTRY point
    • EXTTYAEV - Assembler EXTRN or V-constant
    • EXTTYAWX - Assembler WXTRN