Multiple choice technology mainframe

Can a file declared in Cobol program be ran in Jcl without having it.

  1. (A) Yes

  2. (B) No

  3. NA

  4. Na

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A COBOL program can use files that are defined and allocated in JCL without re-declaring them in the COBOL program. The file definition in the COBOL SELECT/FD statements describes the file structure, but the actual allocation can be handled entirely through JCL DD statements. This is standard mainframe practice where JCL manages external resources.