Skip to content

Commit

Permalink
Adding JCL (Job Control Language) (#6249)
Browse files Browse the repository at this point in the history
* Added JCL

* Added JCL samples

* Updated JCL samples

* added missing JCL colour
  • Loading branch information
lnlyssg authored Feb 27, 2023
1 parent 1345d01 commit b80b69c
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
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

0 comments on commit b80b69c

Please sign in to comment.