Can we execute Mainframe JCL thru UNIX


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Can we execute Mainframe JCL thru UNIX
# 1  
Old 05-10-2016
Can we execute Mainframe JCL thru UNIX

Hi,

can we execute mainframe jcl in Unix system. I want to run jcl in unix instead of mainframe.

Thanks in advance.



Moderator's Comments:
Mod Comment Please post in an adequate forum!

Last edited by RudiC; 05-10-2016 at 01:30 PM.. Reason: Moved from "How to Post in the The UNIX and Linux Forums"
# 2  
Old 05-11-2016
When you say "I want to run jcl in unix instead of mainframe." can I just check that you want the execution to be on Unix not just controlling on Unix but actually executing on VM/MVS/zOS etc.?

COuld the JCL not be dismantled and written as script instead? The dataset allocations etc. required by JCL will be pretty meaningless on Unix, that generally works on input & output file descriptors.


Robin
# 3  
Old 05-11-2016
# 4  
Old 05-11-2016
The one exception to what has been already stated by others is that the UNIX dd command does emulate many features of the JCL dd statement.
# 5  
Old 05-13-2016
Quote:
Originally Posted by rbatte1
When you say "I want to run jcl in unix instead of mainframe." can I just check that you want the execution to be on Unix not just controlling on Unix but actually executing on VM/MVS/zOS etc.?

COuld the JCL not be dismantled and written as script instead? The dataset allocations etc. required by JCL will be pretty meaningless on Unix, that generally works on input & output file descriptors.


Robin
Thanks Robin,
I want only the execution of jcl in unix , is this feasible? or can we use jcl script in unix and how to do that.

Thanks
# 6  
Old 05-13-2016
Consider the following questions:
  1. Do you have a license to run a mainframe operating system on your UNIX box?
  2. Do you have a copy of the mainframe operating system you want to run installed on your UNIX box?
  3. Do you have licenses to run the software that your JCL invokes on your UNIX box?
  4. Do you have copies of the software that your JCL invokes installed on your UNIX box?
  5. Do you have a mainframe filesystem with EBCDIC filenames mounted on your UNIX box?
  6. Do you have an emulator for the mainframe hardware that the software your JCL invokes was designed to run on installed on your UNIX box?
  7. If any of the mainframe software you want to run on your UNIX box is interactive, do you have EBCDIC terminals and drivers for those terminals installed on your UNIX box?
If you answered no to any of those questions, you can't run JCL on your UNIX box. (For the record, I don' know of any UNIX system or UNIX-like system for which all of these elements are available.)
# 7  
Old 05-14-2016
Hi.

You may be interested in this commercial JCL -> shell conversion utility (among other mainframe utilities to ease the conversion to *nix): MVSJCLtest1.doc MVS JCL test/demo conversions [libcnv]

Also there is a version of rexx that runs on *nix machines: Regina Rexx Interpreter

I've used it on Debian platforms (it's in the repository), but only sparingly:
Code:
OS, ker|rel, machine: Linux, 3.16.0-4-amd64, x86_64
Distribution        : Debian 8.4 (jessie) 
rexx REXX-Regina_3.6 5.00 31 Dec 2011

Best wishes ... cheers, drl
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mainframe SAS JCL to Korn Shell script conversion

Hi All, Please help me to the conversion of Mainframe SAS JCL to korn Unix script. Please share the example from SAS JCL to Korn Unix Script. It be really helpful. Please share the online source also so I can look into it. Thanks, Abhishek (5 Replies)
Discussion started by: Abhishek Tyagi
5 Replies

2. UNIX for Dummies Questions & Answers

Vb file from UNIX to mainframe

Hi Everyone, Do I need to provide record length as Record length + 4 when I'm transferring a variable block files from unix to mainframe through ftp? For example, I have a file in unix (ebcidic converted) with maximum record length of 100. This works correctly, quote... (1 Reply)
Discussion started by: poova
1 Replies

3. UNIX for Dummies Questions & Answers

Sftp from UNIX to mainframe

Hi, I have many scripts where i have used sftp for file transfer from unix box to unix box.. Now that we have to sftp files from unix to mainframe, i would like to know if that is possible. I just tried in the same way i did from unix to unix, but i got the error as connection refused. Are... (2 Replies)
Discussion started by: dnat
2 Replies

4. UNIX for Dummies Questions & Answers

UNIX sftp from mainframe

I have the following UNIX script which copies a file from a UNIX server in Canada to a UNIX server in the UK. LOG=/data/proj/sftp/canada.log DAT=`date "+%d/%m/%y %H:%M"` HOMEDIR=/data/proj/sftp TGTFILE=P_DATA.csv cd $HOMEDIR echo "\nStarting retrieval of Canadian Data at $DAT" >> $LOG ... (1 Reply)
Discussion started by: mishnok
1 Replies

5. UNIX and Linux Applications

ftp from unix to Mainframe

suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies

6. HP-UX

ftp from unix to mainframe

hi suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies

7. UNIX for Dummies Questions & Answers

any such thing as JCL for Unix?

beyond newbie but I figured, what better place to ask than the "dummies" section :) Please point me to any online documentation for such a beast if it exists. thanks (11 Replies)
Discussion started by: jump23
11 Replies

8. UNIX for Dummies Questions & Answers

USS (unix) on the Mainframe

Does anyone work with USS on an IBM Mainframe computer on this msg board? (2 Replies)
Discussion started by: Javagate
2 Replies

9. Post Here to Contact Site Administrators and Moderators

USS (unix) on the Mainframe

am wanting to know if the board is worth my time and effort since I work with USS (Unix System Services) on a Mainframe computer. If there are others who use USS on the Mainframe this will be helpfull. I dont want to spend my time racking up the number of posts I have nor should anyone else. ... (2 Replies)
Discussion started by: Javagate
2 Replies

10. UNIX for Advanced & Expert Users

Executing JCL through UNIX

Hi, I am trying to execute a JCL in mainframe through solaris but it doent seem to work. I have used the following script on a suggestion #!/bin/ksh ftp -n << EOF open <servername> user <userid> <password> ascii site file=jes put <JCLfilename> quit EOF It requires the JCL file... (8 Replies)
Discussion started by: joneja
8 Replies
Login or Register to Ask a Question