|
From: | Brian Tiffin |
Subject: | Re: [open-cobol-list] JCL (Was: Hi all) |
Date: | Thu, 30 Jul 2015 16:27:32 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 |
David Lee Lambert wrote:
Someone sells a commercial product "J2U - the JCL-intepreter for Unix", http://www.itgain-is.de/en/j2u/j2u.php . I have not used it, but a trial license appears to be available. Someone else provides a tool to convert JCL scripts to Korn shell as part of a larger suite of commercial tools, documentation at http://uvsoftware.ca/mvsjcl.htm . At least one Micro Focus product included a JCL interpreter, per message "FW: Looking for JCL interpreter for UNIX/LINUX" posted to bit.listserv.ibm-main on 27 Apr 2006 19:06:27 GMT (Message-ID: <address@hidden> ). "JCL-Convert is a Perlscript that converts VSE JCL to Perlscripts. The generated Perl Jobs start COBOL Programms under MicroFocus Cobol. This Release only tested with Linux". http://sourceforge.net/projects/jcl-convert/ Speaking of REXX, however, in that case IBM released an implementation as open source in about 2005 (which may be the basis of "Open Object REXX") and there's also an independent open source implementation, Regina REXX ... http://sourceforge.net/projects/regina-rexx/ .
For anyone programming in GnuCOBOL and interested in Rexx, it can be added to applications, from the inside, or used as another external scripting tool.
Both OORexx and Regina have been successfully integrated into GnuCOBOL using the C bindings.
http://opencobol.add1tocobol.com/gnucobol/#can-gnucobol-interface-with-rexxThe releases work very well, and are very complete implementations, umm, from what little I know of the Rexx ecosystem. I've only used the bindings once so far, for practical purposes, getting at some XMIT formatted data using a published Rexx script.
Any developer fond of Rexx programming, can leverage those skills and any favourite scripts, when building GnuCOBOL applications.
The proof of concept samples could, and should, be extended to allow for a very high level
move function rexx(script, args, result-buffer) to api-result to make things even easier to wield. Cheers, Brian
On 07/30/2015 05:54 AM, J. Leslie Turriff wrote:JCL (Job Control Language) is a sort of scripting tool for running jobs in the batch-oriented z/OS and z/VSE operating systems. I don't believe there are any other OSes that use such a concept (the only others I've seen were on NCR's Century and Criterion OSes). z/OS and z/VSE applications are typically designed as series of relatively simple programs that are sort of 'pipe'd together with JCL, which defines the files that each program step uses and controls the sequence of steps depending on the return codes produced by each program. Another IBM operating system, z/VM CMS, uses a scripting language called Rexx to do this; Rexx is more like bash. Unless he works on one off IBM's z/OS or z/VSE systems, Martin will not need to know JCL. Leslie On Sunday 26 July 2015 20:08:43 Patrick wrote:On 07/26/2015 08:36 PM, Kevin Monceaux wrote:On Sun, Jul 26, 2015 at 07:24:26PM -0400, Patrick wrote:I asked about JCL once and the basic answer was DON'T. It appears to be a language that was used to make up for shortcomings in OS that don't exist now.Really? I work as an IBM mainframe operator and JCL is still used under z/OS today, not to mention z/VSE.Hi Kevin Martin should not take my word for it, I only asked because I know so little about JCL. Would it be good for Martin to learn? -Patrick --------------------------------------------------------------------------- --- _______________________________________________ open-cobol-list mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/open-cobol-list
[Prev in Thread] | Current Thread | [Next in Thread] |