Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to run the Rexx Program at a set time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
venkatatcts

New User


Joined: 16 Mar 2009
Posts: 55
Location: India

PostPosted: Mon Sep 07, 2009 11:52 pm    Post subject: How to run the Rexx Program at a set time
Reply with quote

Hi,

I have a to run a rexx Program which should FTP the excel file from desktop to Mainframe PS and invoke a JCL with PS as input file. Please let me know that whether it can be done through REXX.

Thanks in Advance,
Venkatraman.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Sep 08, 2009 12:14 am    Post subject: Reply to: How to run the Rexx Program at a set time
Reply with quote

Quote:
How to run the Rexx Program at a set time


from the topic title the obvious reply is to use Your scheduling facilities, but ...

where is the REXX supposed to be running ?
what is the trigger that determines when the process should be started
if it is an excel WS the most appropriate approach seems to have the end user ( at the desktop ) to start the whole shebang
ftp and job submission..

or better just the FTP and have Your scheduler schedule the job based on the dataset arrival
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Tue Sep 08, 2009 6:26 am    Post subject:
Reply with quote

If you are controlling this from Windows, look at the built in Task Scheduler in the control panel. If you are controlling this from a Unix or Linux workstation, check out cron.

If you are connecting to the workstation from the mainframe, use a scheduler there (or cron is also available if you have access to it).

The one thing you *don't* want to do is submit a job that loops or wakes up at a specific time. That is a complete waste of resources.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 Sat May 06, 2017 12:59 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us