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 

Automation of JCL thru windows scheduler

 
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
k_rahul13
Beginner


Joined: 02 Jan 2008
Posts: 2
Topics: 1

PostPosted: Fri Jan 04, 2008 7:00 am    Post subject: Automation of JCL thru windows scheduler Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Jan 04, 2008 8:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Fri Jan 04, 2008 9:01 am    Post subject: Reply with quote

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
View user's profile Send private message
k_rahul13
Beginner


Joined: 02 Jan 2008
Posts: 2
Topics: 1

PostPosted: Mon Jan 07, 2008 8:54 am    Post subject: Reply with quote

thanks a lot Bill
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