JCL to Unix / Windows Shell Scripts
Job Control Language (JCL) is a scripting language used on mainframe computers to prepare data files and to launch or run application programs.
Its peculiar statements and syntax make it difficult to be understood by the average development resources familiar with Java, C#, MS Windows and Unix.
Therefore, one of the objectives of the translation has to be the generation of more legible scripts.
JCL translation needs to address two issues:
- The JCL Language - conversion from JCL statements to Unix, or Windows shell or batch scripts
- Support for mainframe functions - for example to start programs (EXEC PRG), SORT / COPY data-files, export data (IDCAMS), GDG versioning and so on
SoftwareMining translates JCL scripts to Unix shell scripts or MS Windows batch files.
The generated scripts are designed to run the SoftwareMining translation of Java or C# programs, and may need some adjustments to work with re-hosted COBOL applications.
Most widely used mainframe utilities such as SORT (DFSORT) , COPY, IDCAMS , and basic ICETOOL features are supported within the SoftwareMining framework libraries – and are tuned to work in conjunction with the translated programs/data.
The system can also cater for EBCDIC to ASCII (and vice versa) migration of the data files.
Timing and runtime scheduling of scripts require links to operating system utilities such as Unix CRON or MS Schedule Task.
SoftwareMining provides Java implementation of the following JCL Functions / Utilities:
- EXEC PGM
Used to run translated Java/C# Programs which are launched from command-line.
- EXEC PROC
Procedures are translated to other shell-scripts, which are launched in standard way.
- Sort & DFSort - functions implemented in Java and .NET
SoftwareMining's Java Sort/DFSOPRT utility contains 90% of the functions provided by DFSORT or SyncSort.
For the full list of features please see SoftwareMining Sort Documentation
Note: IF/THEN and JOIN-KEYS Functionality are distributed under a separate license.
- Copy - functions implemented in Java and .NET
The java COPY utility utilizes SoftwareMining's implementation of Sort/DFSORT
- IDCAMS / REPO
IDCAMS / REPO used for tnhe export of data from SQL (replacement of VSAM KSDS). For a full list of features please see SoftwareMining ExportDb Documentation.
- IEBGENER - functions implemented in Java and .NET
Used for copying and printing Sequential files.
- IEFBR14 - functions implemented in Java and .NET
Used for renaming and deleting Sequential files.
- IKJEFT01
Mainframe utility typically used for one of the following purposes
- Launching translated programs
- Copying, renaming or deleting VSAM data-files (translates to operating system utilities)
- Call other Mainframe routines - such as DSNTEP2 or DSNTEP4 used for executing SQL statements on the database. (translated to calls to SoftwareMining's SQLLoader)
- GDG - functions implemented in Java and .NET
GDG Versioning utility for flat files. For a full list of features please see SoftwareMining GDG Documentation
- ICETOOL - functions implemented in Java and .NET (Distributed under a separate License)
Most widely used ICETOOL features include COPY, SELECT and SPLICE are all supported. Support for additional features can be requested.
© 2022
SoftwareMining is a trademark of Software Modernization Technologies Ltd (UK).
Registered in England company no: 07300248. Reg Offices: 79 Stevens House, Jerome Place, Kingston Upon Thames, KT1 1HX, United Kingdom.