Hello everyone,
I have a jcl code stored in UNIX, how to submit the jcl from unix to executed on mainframe?
Thank you!
Submit jcl from unix
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Submit jcl from unix
Is the "jcl code stored in UNIX" (sic) on the mainframe or are you talking about a Unix server apart from the mainframe? If it is on the mainframe, have you looked in the Unix System Services Command Reference manual for your version of z/OS? If not, WHY NOT? This is a HELP forum, not a READ-THE-MANUAL-FOR-YOU forum. If you cannot show enough initiative to at least look in the manual before posting here, why on earth should we show the initiative to help you? Especially since you are having trouble clearly defining your problem in each post -- not specifying mainframe or another server in this thread, for example.
Re: Submit jcl from unix
Thank you Robert,
The UNIX server is apart from Mainframe. I want to do this because we have data stored both in Unix server and Mainframe.
In our previous job we have jcl code in PC, we can submit the code in pc to Mainframe already-we use an application that can submit batch job to mainframe from windows. But I want move from PC to UNIX, so this is the reason for this question, I want to know is there similar application that I can submit batch job from Unix to Mainframe?
Thanks!
The UNIX server is apart from Mainframe. I want to do this because we have data stored both in Unix server and Mainframe.
In our previous job we have jcl code in PC, we can submit the code in pc to Mainframe already-we use an application that can submit batch job to mainframe from windows. But I want move from PC to UNIX, so this is the reason for this question, I want to know is there similar application that I can submit batch job from Unix to Mainframe?
Thanks!
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Submit jcl from unix
z/OS FTP has the ability to submit jobs directly into JES. There is some set up work required in TCP/IP to support this, so not all sites have it implemented. If it is available at your site, you could run FTP on your Unix server to the mainframe JES and your Unix file would go into the mainframe as a batch job.
Re: Submit jcl from unix
Thank you Robert,
I found I can submit jcl from Unix to mainframe use ftp as you said. the key command in SAS program is:
filename JclJob ftp "'x'"
In this SAS code a ftp command was executed, it submit the "JclJob" code to mainframe. but there is one thing I am not understand. what the "'x'" meaning here?
Thanks!
I found I can submit jcl from Unix to mainframe use ftp as you said. the key command in SAS program is:
filename JclJob ftp "'x'"
In this SAS code a ftp command was executed, it submit the "JclJob" code to mainframe. but there is one thing I am not understand. what the "'x'" meaning here?
Thanks!
- prino
- Posts: 641
- Joined: Wed Mar 11, 2009 12:22 am
- Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
- Referer: Google
- Location: Vilnius, Lithuania
- Contact:
Re: Submit jcl from unix
Ever thought about reading a manual? Maybe it explains the extra parameter "x"?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
robert.ah.prins @ the.17+Gb.Google thingy
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Creating Unix Directory using COBOL in Unix 0n Z/OS
by Heisenberg » Mon Jun 26, 2023 4:36 pm » in IBM Cobol - 2
- 3040
-
by Robert Sample
View the latest post
Wed Jul 05, 2023 6:36 pm
-
-
- 1
- 2887
-
by Robert Sample
View the latest post
Sun Feb 20, 2022 8:04 pm
-
-
Calling Java program on UNIX/USS from a COBOL CICS program?
by zbius » Tue Nov 05, 2024 2:37 pm » in IBM Cobol - 2
- 2595
-
by zbius
View the latest post
Wed Nov 06, 2024 6:02 pm
-