View previous topic :: View next topic |
Author |
Message |
k_rahul13 Beginner
Joined: 02 Jan 2008 Posts: 2 Topics: 1
|
Posted: Fri Jan 04, 2008 7:00 am Post subject: Automation of JCL thru windows scheduler |
|
|
Hi, I have red the info from regarding this automation from http://www.mvsforums.com/helpboards/viewtopic.php?t=4996&highlight=windows+scheduler
this tells to write a jcl in one text file and FTP it to mainframe to submit the job. this is working fine. But I wanted to know..if I already have a JCL stored in PDS on the mainframe and I just want to submit that thru windows scheduler..is this possible ? can anyone tell me what needs to be done |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Jan 04, 2008 8:33 am Post subject: |
|
|
I seem to remember that directing FTP to JES and then using a GET on the PDS member containing the JCL will submit the job. Its something to look at anyway. If not, you can always do a GET to the workstation and then switch to JES and do a PUT, though if the JCL has any sensitive info like passwords, that might be a security concern (although since FTP is clear-text anyway on the login, that may be moot). _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Fri Jan 04, 2008 9:01 am Post subject: |
|
|
the JCL you send via FTP can be a step to copy the existing member to the INTRDR.
Code: | // JOB
//J EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=your.jcl.pds(member),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR),DCB=BLKSIZE=80
//SYSIN DD DUMMY |
_________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
k_rahul13 Beginner
Joined: 02 Jan 2008 Posts: 2 Topics: 1
|
Posted: Mon Jan 07, 2008 8:54 am Post subject: |
|
|
thanks a lot Bill |
|
Back to top |
|
|
|
|