JCL Language Support enhances the JCL programming experience of your IDE. The extension leverages the language server protocol to provide snippets, syntax highlighting and coloring. JCL Language Support is available as a VS Code extension.
Any file that contains a jobcard or that uses the extension .jcl
or .cntl
is recognized as a JCL file.
There are no client or server-side prerequisites for JCL Language Support.
Integrate this extension with Zowe Explorer and set up a Zowe profile to enable hyperlinks to PDS members and USS files in your JCL code. You can also use Zowe Explorer to submit jobs, and to access your mainframe data sets containing JCL directly from VS Code.
If you use JCLCheck™ Workload Automation, we also recommend that you install the JCL Check extension for VS Code. The JCL Check extension enables you to generate reports in VS Code through the JCLCheck REST API.
JCL Language Support provides the following JCL syntax awareness features:
The extension enables syntax highlighting for JCL code.
Contrasting colors are used in displayed code for ease of identifying and distinguishing keywords, variables and comments.
If you use the Zowe Explorer extension and have a Zowe profile configured, PDS members and USS paths display as hyperlinks. This feature is enabled for PDS members specified in the format DSN(MEMBER) in DSN=
parameters, and USS paths that are specified in PATH=
parameters. CTRL+click the hyperlink to open the PDS member or USS folder in Zowe Explorer.
Only full paths which contain no wildcards display as hyperlinks.
Before you write your JCL code from scratch, search the snippet library for useful templates.
- Press F1 to open the command palette and run the command Snippets: Insert Snippet.
- Choose the type of snippet you want to insert.
- Fill in the templated values to complete the JCL statement.
You can also type the name of a snippet in the editor and use the VS Code autocomplete feature to add the snippet.