View previous topic :: View next topic |
Author |
Message |
KM Beginner
Joined: 22 Jul 2004 Posts: 18 Topics: 8
|
Posted: Thu Jul 22, 2004 2:37 pm Post subject: Executing .cmd file from JCL ? |
|
|
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 |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Jul 22, 2004 3:24 pm Post subject: |
|
|
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 |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Jul 22, 2004 3:26 pm Post subject: |
|
|
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 |
|
|
|
|