Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us