Skip to content

COBOL

-INC

The call on -INC implies dependencies on copybook files :

  • -INC 'COPYBOOK' implies a dependency on a copybook file named “COPYBOOK”
  • -INC "COPYBOOK" implies a dependency on a copybook file named “COPYBOOK”
  • -INC COPYBOOK implies a dependency on a copybook file named “COPYBOOK”

++INCLUDE

The call on ++INCLUDE implies dependencies on copybook files :

  • ++INCLUDE 'COPYBOOK' implies a dependency on a copybook file named “COPYBOOK”
  • ++INCLUDE "COPYBOOK" implies a dependency on a copybook file named “COPYBOOK”
  • ++INCLUDE COPYBOOK implies a dependency on a copybook file named “COPYBOOK”

?SOURCE

The call on ?SOURCE implies dependencies on copybook files :

  • ?SOURCE='COPYBOOK' implies a dependency on a copybook file named “COPYBOOK”
  • ?SOURCE="COPYBOOK" implies a dependency on a copybook file named “COPYBOOK”
  • ?SOURCE=COPYBOOK implies a dependency on a copybook file named “COPYBOOK”

CALL / CALL PROC / CALL PROCEDURE

The list below use only the CALL keywords but the dependencies will be the same with CALL PROC or CALL PROCEDURE. We expect to find dependencies of any extension :

  • CALL 'PROGRAM' implies a dependency on a file named "PROGRAM"
  • CALL "PROGRAM" implies a dependency on a file named "PROGRAM"
  • CALL PROGRAM_VAR implies dependencies on the values of PROGRAM_VAR including its initial value and all the values set with a MOVE ... TO PROGRAM_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

COPY

The call on COPY implies dependencies on copybook files :

  • COPY 'COPYBOOK' implies a dependency on a copybook file named “COPYBOOK”
  • COPY 'folder:COBCOP.cobcop' implies a dependency on a cobcop file named “COBCOP”. The .cobcop in the string is optionnal.
  • COPY "COPYBOOK" implies a dependency on a copybook file named “COPYBOOK
  • COPY "folder:COBCOP.cobcop" implies a dependency on a cobcop file named “COBCOP”. The .cobcop in the string is optionnal.
  • COPY COPYBOOK implies a dependency on a copybook file named “COPYBOOK”

EXEC CICS

DELETE FILE

We support several calls on DELETE FILE, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS DELETE FILE(“FILE”) ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS DELETE FILE('FILE') ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS DELETE FILE(FILE_VAR) ... END-EXEC implies dependencies on the values of FILE_VAR including its initial value and all the values set with a MOVE ... TO FILE_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

We support several calls on LINK PROGRAM, the call itself could be on multiple lines or not. We expect to find dependencies of any extension :

  • EXEC CICS LINK PROGRAM(“PROGRAM”) ... END-EXEC implies a dependency on a file named "PROGRAM"
  • EXEC CICS LINK PROGRAM('PROGRAM') ... END-EXEC implies a dependency on a file named "PROGRAM"
  • EXEC CICS LINK PROGRAM(PROGRAM_VAR) ... END-EXEC implies dependencies on the values of PROGRAM_VAR including its initial value and all the values set with a MOVE ... TO PROGRAM_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

READ FILE

We support several calls on READ FILE, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS READ FILE(“FILE”) ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS READ FILE('FILE') ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS READ FILE(FILE_VAR) ... END-EXEC implies dependencies on the values of FILE_VAR including its initial value and all the values set with a MOVE ... TO FILE_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

RECEIVE MAP

We support several calls on RECEIVE MAP, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS RECEIVE MAP(“MAP”) ... END-EXEC implies a dependency on a file named "MAP"
  • EXEC CICS RECEIVE MAP('MAP') ... END-EXEC implies a dependency on a file named "MAP"
  • EXEC CICS RECEIVE MAP(MAP_VAR) ... END-EXEC implies dependencies on the values of MAP_VAR including its initial value and all the values set with a MOVE ... TO MAP_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

RECEIVE MAPSET

We support several calls on RECEIVE MAPSET, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS RECEIVE MAPSET(“MAPSET”) ... END-EXEC implies a dependency on a file named "MAPSET"
  • EXEC CICS RECEIVE MAPSET('MAPSET') ... END-EXEC implies a dependency on a file named "MAPSET"
  • EXEC CICS RECEIVE MAPSET(MAPSET_VAR) ... END-EXEC implies dependencies on the values of MAPSET_VAR including its initial value and all the values set with a MOVE ... TO MAPSET_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

REWRITE FILE

We support several calls on REWRITE FILE, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS REWRITE FILE(“FILE”) ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS REWRITE FILE('FILE') ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS REWRITE FILE(FILE_VAR) ... END-EXEC implies dependencies on the values of FILE_VAR including its initial value and all the values set with a MOVE ... TO FILE_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

SEND MAP

We support several calls on SEND MAP, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS SEND MAP(“MAP”) ... END-EXEC implies a dependency on a file named "MAP"
  • EXEC CICS SEND MAP('MAP') ... END-EXEC implies a dependency on a file named "MAP"
  • EXEC CICS SEND MAP(MAP_VAR) ... END-EXEC implies dependencies on the values of MAP_VAR including its initial value and all the values set with a MOVE ... TO MAP_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

SEND MAPSET

We support several calls on SEND MAPSET, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS SEND MAPSET(“MAPSET”) ... END-EXEC implies a dependency on a file named "MAPSET"
  • EXEC CICS SEND MAPSET('MAPSET') ... END-EXEC implies a dependency on a file named "MAPSET"
  • EXEC CICS SEND MAPSET(MAPSET_VAR) ... END-EXEC implies dependencies on the values of MAPSET_VAR including its initial value and all the values set with a MOVE ... TO MAPSET_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

WRITE FILE

We support several calls on WRITE FILE, the call itself could be on multiple lines or not. We expect to find dependencies of any extension but .CBL, .COB and .CPY :

  • EXEC CICS WRITE FILE(“FILE”) ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS WRITE FILE('FILE') ... END-EXEC implies a dependency on a file named "FILE"
  • EXEC CICS WRITE FILE(FILE_VAR) ... END-EXEC implies dependencies on the values of FILE_VAR including its initial value and all the values set with a MOVE ... TO FILE_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

XCTL PROGRAM

We support several calls on XCTL PROGRAM, the call itself could be on multiple lines or not. We expect to find dependencies of any extension :

  • EXEC CICS XCTL PROGRAM(“PROGRAM”) ... END-EXEC implies a dependency on a file named "PROGRAM"
  • EXEC CICS XCTL PROGRAM('PROGRAM') ... END-EXEC implies a dependency on a file named "PROGRAM"
  • EXEC CICS XCTL PROGRAM(PROGRAM_VAR) ... END-EXEC implies dependencies on the values of PROGRAM_VAR including its initial value and all the values set with a MOVE ... TO PROGRAM_VAR operation. The variable can be declared in the same file as the call or in one of its imported copybook.

EXEC SQL

We support several calls on EXEC SQL, the call itself could be on multiple lines or not. We expect to find dependencies of any extension. The dependencies are detected for the following operations in the request :

  • EXEC SQL ... FROM TABLE1, TABLE2 ... END-EXEC where TABLE1 and TABLE2 are files corresponding to SQL tables. TABLE2 is optional and if there is only two tables, commas aren’t needed.
  • EXEC SQL ... INSERT INTO TABLE1 ... END-EXEC where TABLE1 is a file corresponding to a SQL table.
  • EXEC SQL ... JOIN TABLE1 T1 ON ... END-EXEC where TABLE1 is a file corresponding to a SQL table and T1 is an optional alias for TABLE1 used in the rest of the request.
  • EXEC SQL ... UPDATE TABLE1 SET ... END-EXEC where TABLE1 is a file corresponding to a SQL table.

EXEC SQL INCLUDE

The call on EXEC SQL INCLUDE implies dependencies on copybook files :

  • EXEC SQL INCLUDE 'COPYBOOK' ... END-EXEC implies a dependency on a copybook file named “COPYBOOK”
  • EXEC SQL INCLUDE "COPYBOOK" ... END-EXEC implies a dependency on a copybook file named “COPYBOOK”
  • EXEC SQL INCLUDE COPYBOOK ... END-EXEC implies a dependency on a copybook file named “COPYBOOK”

EXEC SQL SOURCE

The call on EXEC SQL SOURCE implies dependencies on copybook files :

  • EXEC SQL SOURCE = 'COPYBOOK' implies a dependency on a copybook file named “COPYBOOK”
  • EXEC SQL SOURCE = "COPYBOOK" implies a dependency on a copybook file named “COPYBOOK”
  • EXEC SQL SOURCE = COPYBOOK implies a dependency on a copybook file named “COPYBOOK”

SWCOPY

The call on SWCOPY implies dependencies on copybook files :

  • SWCOPY 'COPYBOOK' implies a dependency on a copybook file named “COPYBOOK”
  • SWCOPY "COPYBOOK" implies a dependency on a copybook file named “COPYBOOK”
  • SWCOPY COPYBOOK implies a dependency on a copybook file named “COPYBOOK”