MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Executing .cmd file from JCL ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
KM
Beginner


Joined: 22 Jul 2004
Posts: 18
Topics: 8

PostPosted: Thu Jul 22, 2004 2:37 pm    Post subject: Executing .cmd file from JCL ? Reply with quote

It might be a somewhat different JCL question, but is it possible to execute a .cmd file on a PC from a JCL (PC is the same as the JCL is submitted on...?)
We are being creative here in order to bend the strict network / firewall rules....
Any thoughts or comments ?
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Jul 22, 2004 3:24 pm    Post subject: Reply with quote

You have a few potential options, depending on what you feel would be the better choice:

1. You can initiate a file transfer using an FTP server (or a similar product) on the PC that has the built-in logic to take an action upon the receipt of a file.

2. You can write a task (daemon?) on the PC that could detect a signal from the mainframe (i.e. a TCP/IP socket call, an FTP transfer, MQ/Series) and act upon that signal.

3. You can write an ISPF application that can initiate a command on your PC. You must download the ISPF Client/Server component and install it on your PC (see ISPF Option 0, in the Workstation menu, option
"4. Download ISPF C/S component...". Once the C/S component is installed and activated, you can create an ISPF dialog session to communicate with the C/S component. I was just messing with this to test the feasibility of creating an HTML file, downloading it to my PC, and auto-starting Internet Explorer to see the contents.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Jul 22, 2004 3:26 pm    Post subject: Reply with quote

In our shop, we run CA-Scheduler, which has agents that run on Windows workstations, allowing it to do exactly what you are asking.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group