Here at DHS we are developing a major application that runs on Linux and Oracle.
This application will need to have batch file interchanges with the z/OS Mainframe. Most of the file transfers are inbound to z/OS, but a few are outbound back to Linux. Security rules dictate that we must use secure protocols for file transfers, even though the Linux Servers and the Mainframe will be side-by-side in the Intranet. For us this means SFTP. So for inbound this means that shell scripts on the Linux boxes will initiate an SFTP session with the UNIX side of our mainframe and PUT files. Then we need to run an MVS job to pull the data from the Unix File system into a regular MVS Generation Data Set. And we need to tell the CONTROL-M Scheduler that this has been done so that it can schedule all the follow-on work. For outbound we need to push the file from an MVS dataset into the Unix File System. Then we need to initiate a shell script to cause the file to be sent to the remote Linux server. And once it arrives there, we need to tell a different instance of the CONTROL-M Scheduler that the file has been transmitted successfully. I know how to do some parts of this, but I wonder about some details: 1. Is it possible for a z/OS UNIX Shell Script to SUBMIT an MVS JOB? I know I can do plain FTP with FILETYPE=JES. But is there a more direct way that doesn't involve putting plain text passwords on the wire? 2. Is the CONTROL-M Scheduler capable of monitoring the creation of MVS files and kicking off a job when this event is detected? Is this a basic capability of the product, or is a special add-on needed (we have a very small CTM Environment, w/o many of the goodies). 3. Is CONTROL-M capable of monitoring file creation in the UNIX side? 4. I know that z/OS Unix Shell Scripts can use the "cp" command to copy files from HFS to MVS, using the "//'HLQ.WHATEVER'" notation. But will this work with GDG's to create the +1 generation? And how do you control DCB/SPACE attributes for the receiving file? 5. What are the chances of being able to transfer BINARY VB files successfully? I note that SFTP doesn't seem to have LOCSITE RDW options. 6. Does CONTROL-M have any basic capability to be signaled that an event has occurred such that it will then trigger follow-up processing? If so, can you do this from shell script? If any can help with this, it would be much appreciated. I only know enough about Unix System Services to be dangerous, and even less about CONTROL-M. For CONTROL-M we are really running on autopilot since our expert departed a couple years back. John ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
