IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create a Rexx to monitor prod ftp jobs?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Absinthia

New User


Joined: 10 Jan 2008
Posts: 36
Location: CHINA

PostPosted: Tue Jun 09, 2009 10:01 am
Reply with quote

I want to create a REXX like that:
Requirement:
1. At an actual time(supposed at this moment, all jobs have been completed if no delay and abend), we will run the Rexx to monitor whether jobs have been completed. Rexx will log the jobs' information such as job id and status no matter the jobs have been completed or not.

2. The monitored jobs are ftp job, so we should make sure all the ftd'd files has been generated. The FTP'd files are gdg file. So we should get the create time of the files to judge whether it is latest or not.

Thanks so much
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 09, 2009 11:06 am
Reply with quote

You have told us what you want to do, but without any specific questions.

Are there any questions or is this a statement of intent.
Back to top
View user's profile Send private message
Absinthia

New User


Joined: 10 Jan 2008
Posts: 36
Location: CHINA

PostPosted: Tue Jun 09, 2009 12:33 pm
Reply with quote

expat wrote:
You have told us what you want to do, but without any specific questions.

Are there any questions or is this a statement of intent.


My question is how to create such kind of rexx? I never handle rexx before.
The requirement of this rexx is like below.

for example, prod jobs a123456a, a123456b need be monitored. they are ftp job. they usually completed at 10:00.p.m. , now i need to create a REXX and run it at 10:30 p.m. to make sure these two jobs have been completed and it will give me the job id. if the job is running, the rexx will also give me the runnning job's job id.

also the rexx should check whether the ftp files in these two jobs have been generated successfully. The ftp files are gdg file.

Thanks a lot.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 09, 2009 1:01 pm
Reply with quote

Quote:
... I never handle rexx before ...

How do You expect to accomplish such a task if You lack the necessary basic knowledge icon_question.gif icon_eek.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 09, 2009 1:02 pm
Reply with quote

Surely all of the required information would already be available in the scheduling software in use ?
Back to top
View user's profile Send private message
Absinthia

New User


Joined: 10 Jan 2008
Posts: 36
Location: CHINA

PostPosted: Tue Jun 09, 2009 1:11 pm
Reply with quote

expat wrote:
Surely all of the required information would already be available in the scheduling software in use ?


in this system we have SAR and CA7, any way to set up these tool instead of creating a rexx?
now we are monitoring the prod jobs manually.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 10, 2009 4:44 am
Reply with quote

Hello,

Suggest you talk with the people who support CA-7 on your system.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top