Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding JCL (Job Control Language) #6249

Merged
merged 5 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3027,6 +3027,14 @@ JAR Manifest:
tm_scope: source.yaml
ace_mode: text
language_id: 447261135
JCL:
type: programming
color: "#d90e09"
extensions:
- ".jcl"
tm_scope: source.jcl
ace_mode: text
language_id: 316620079
JFlex:
type: programming
color: "#DBCA00"
Expand Down
13 changes: 13 additions & 0 deletions samples/JCL/IEBCOPY.jcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//IEBCOPY JOB (ACCT),'IEBCOPY',CLASS=A,MSGCLASS=X
//*
//*-----------------------------------------------------------*
//* COPY A MEMBER FROM ONE DATA SET TO ANOTHER.
//*-----------------------------------------------------------*
//IEBCOPY EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=IBMUSER.TEST
//SYSUT2 DD DISP=SHR,DSN=IBMUSER.TEST2
//SYSIN DD *
C I=((SYSUT1,R)),O=SYSUT2
S M=((TESTMEM,TEST2))
//*
9 changes: 9 additions & 0 deletions samples/JCL/IEFBR14.jcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//IBMUSER JOB (),
// IEFBR14,
// CLASS=A,
// MSGCLASS=X,
// REGION=5M,
// NOTIFY=IBMUSER
//DUMP EXEC PGM=IEFBR14
//DUMPOUT DD DSN=SYS1.TEST.SMF,DISP=(NEW,CATLG),
// UNIT=3390,VOL=SER=USR001,SPACE=(CYL,(10,2),RLSE)
8 changes: 8 additions & 0 deletions samples/JCL/IKJEFT01.jcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//SAMPLE1 JOB (*),"TESTING JOB",CLASS=A,PRTY=10,NOTIFY=&SYSUID,
// MSGCLASS=X,MSGLEVEL=(1,1),TYPRUN=SCAN,REGION=0M
//* LIST A USER
//IKJEFT EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
LU IBMUSER
//
1 change: 1 addition & 0 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Isabelle ROOT:** [lsf37/Isabelle.tmbundle](https://github.com/lsf37/Isabelle.tmbundle)
- **J:** [tikkanz/JSyntax](https://github.com/tikkanz/JSyntax)
- **JAR Manifest:** [atom/language-yaml](https://github.com/atom/language-yaml)
- **JCL:** [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol)
- **JFlex:** [jflex-de/jflex.tmbundle](https://github.com/jflex-de/jflex.tmbundle)
- **JSON:** [Nixinova/NovaGrammars](https://github.com/Nixinova/NovaGrammars)
- **JSON with Comments:** [atom/language-javascript](https://github.com/atom/language-javascript)
Expand Down