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 create a Rexx to monitor prod ftp jobs?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: How to create a Rexx to monitor prod ftp jobs?
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 09, 2009 11:06 am    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Jun 09, 2009 1:01 pm    Post subject: Reply to: How to create a Rexx to monitor prod ftp jobs?
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 09, 2009 1:02 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Jun 10, 2009 4:44 am    Post subject:
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    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 Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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