JCL File Relationship Projections

Statement Format Relationship Entities
DD (program)
//[execName] EXEC PGM = 
ProgName …//ddName DD 
DSN = DSName,…
Job Has Data Connector

Data Connector Refers To Data Store

Data Connector Refers To File

Data Connector attributes:
  • Name = <Job.Name>. <UniqueID>
  • Program Entry Point = <ProgName>
  • DD Name = <ddName>
  • Step Name = <execName>
  • Step Full Name = <StepPath>
  • Step Number = <StepNumber>

Datastore.Name = <dsn-name>

Datastore.DSN = <dsn-name>

File.Name = <ProgName>. <ddName> File.PortName = <ddName>

DD (system program)
//[execName] EXEC PGM = 
SysProgName …//ddName DD 
DSN = DSName,…
Job Has Data Connector

Data Connector Refers To Data Store

Connector Is Read In System Program

Connector Is Written In System Program

Data Connector attributes:
  • Name = <Job.Name>. <UniqueID>
  • Program Entry Point = <ProgName>
  • DD Name = <ddName>
  • Step Name = <execName>
  • Step Full Name = <StepPath>
  • Step Number = <StepNumber>

Datastore.Name = <dsn-name>

Datastore.DSN = <dsn-name>

Sysprogram.Name = <SysProgName>

EXEC (program)
//EXEC PGM = ProgName
Job Runs Program Entry Point ProgramEntry.Name = <ProgName>
EXEC (system program)
//EXEC PGM = SysProgName
Job Runs System Program Sysprogram.Name = <SysProgName>
EXEC (procedure)
//[execName] EXEC [PROC =] 
ExternalProc Name
JCL File Executes JCL Procedure For resolved files: JclProc.Name = <resolved-name>

For unresolved files: JclProc.Name = <ExternalProcName>

INCLUDE
//INCLUDE MEMBER = member
JCL File Includes JCL Procedure For resolved files: JclProc.Name = <resolved-name>

For unresolved files: Jclproc.Name = <member>

-INC (Librarian)
-INC member
JCL File Includes JCL Procedure For resolved files: JclProc.Name = <resolved-name>

For unresolved files: Jclproc.Name = <member>

JOB
//jobName JOB [parameters]
JCL File Defines Job Job.Name = <Jcl.Name>. <jobName>

Job.JobName = <jobName>

Job.StepsNum = <JobStepsNumber>