jcl-parser
Python library for parsing IBM z/OS JCL (Job Control Language) into structured Job, Step, and DD objects. Supports PROC expansion, validation, lint rules, SQL detection, and dataset lifecycle analysis.
Install
pip install -e ".[dev]"
Requires Python 3.10+. No runtime dependencies.
Quick Start
import jclparser
job = jclparser.parse_jcl(source)
print(job.name)
print(job.steps[0].program)
CLI:
jcl-parser FILE steps # list all steps
jcl-parser FILE --validate # validate JCL
jcl-parser FILE lint # run lint rules
jcl-parser FILE --json # full parse result as JSON
Commands
# Tests
pytest
pytest -m unit
# Lint / format / type-check
ruff check . && ruff format .
mypy jclparser/
# Vendor sync (after changes to jclparser/) — rm first: plain `cp -r` nests
# into dest/jclparser/jclparser/ and leaves stale files when dest exists
rm -rf ../backend/_vendor/jcl-parser/jclparser && cp -r jclparser/ ../backend/_vendor/jcl-parser/jclparser
Documentation
Full reference: index.md
License
Proprietary EULA — see LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jcl_parser-1.2.1.tar.gz.
File metadata
- Download URL: jcl_parser-1.2.1.tar.gz
- Upload date:
- Size: 109.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41b94abd4ece895bf72a36d5dc2d61aa47472341ed6128e648413ec800eef84b
|
|
| MD5 |
93224373d1f44a36512e8902e82a0eb5
|
|
| BLAKE2b-256 |
778772e134fc4cb21956c85f3633e3ffeaa7ce56f5ea1e39a54a086f16be9f10
|
Provenance
The following attestation bundles were made for jcl_parser-1.2.1.tar.gz:
Publisher:
release-please.yml on Landparty/jcl-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jcl_parser-1.2.1.tar.gz -
Subject digest:
41b94abd4ece895bf72a36d5dc2d61aa47472341ed6128e648413ec800eef84b - Sigstore transparency entry: 2483214573
- Sigstore integration time:
-
Permalink:
Landparty/jcl-parser@9d6d52e635d08147bc1b97fb4b80383562c6f66d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Landparty
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@9d6d52e635d08147bc1b97fb4b80383562c6f66d -
Trigger Event:
push
-
Statement type:
File details
Details for the file jcl_parser-1.2.1-py3-none-any.whl.
File metadata
- Download URL: jcl_parser-1.2.1-py3-none-any.whl
- Upload date:
- Size: 130.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1464c5f2bdd8a86befe9c6dcb2b28cd668d0281047cc65bbbc26b0dac0817d6c
|
|
| MD5 |
97f4516493dda3ae0adcaa5f764e6282
|
|
| BLAKE2b-256 |
edec087674a0f8f810b2c4742e342f6701d8ee300025057f975e7497c20ec989
|
Provenance
The following attestation bundles were made for jcl_parser-1.2.1-py3-none-any.whl:
Publisher:
release-please.yml on Landparty/jcl-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jcl_parser-1.2.1-py3-none-any.whl -
Subject digest:
1464c5f2bdd8a86befe9c6dcb2b28cd668d0281047cc65bbbc26b0dac0817d6c - Sigstore transparency entry: 2483214733
- Sigstore integration time:
-
Permalink:
Landparty/jcl-parser@9d6d52e635d08147bc1b97fb4b80383562c6f66d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Landparty
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@9d6d52e635d08147bc1b97fb4b80383562c6f66d -
Trigger Event:
push
-
Statement type: