The Job Control Language (JCL) is IBMs scripting language in the z/OS operating system.
The files are not called „scripts“, though. They are called „Job Cards“ – a term that goes back to punched-cards.
Supported Elements of JCL
- Comments and empty lines
- Environment Variables
- STEPLIB and JOBLIB (become entries in the PATH environment variable)
- Data-Definitions (become Unix-Pipes)
- Some Conditionals
- Procedures (become functions)
Mainframes automatically roll-back their databases when a Process crashes. This is a powerful feature – it has been a unique selling point for mainframes for decades.
Nowadays however, unixoids support the ZFS file system, which offers the same functionality.
In JCL, you can create files that are deleted automatically later. You can decide to save („catalog“) them later.
Apart from that, the feature-set of JCL is quite similar to the feature-set of the Bourne-Again Shell („bash“) on unixoid systems.
Microsoft BATCH and PowerShell are not powerful enough to be suitable targets for translations.