Hi,
Does anybody have any schema information on the RT_STATUSnn records or know where I can find it?
Cheers,
Joe.
RT_STATUSnn Record Schema
Moderators: chulett, rschirm, roy
Yes, I already knew it was a UniVerse Multivalued DB and unfortunatly doesnt contain any DICT items for the file attributes.
I am trying to write a Server Routine that will loop through all the RT_STATUSnn files and potentially set the status to Aborted/Restartable (for restatable jobs). I am aware of the DSJOB command with the reset option and manually resetting jobs through the directory client but we are envisaging a scenario in our active/passive environment where if failover occurs mid execution of a job and the Projects directory is mounted on the passive engine then the RT_STATUS file may state that the job is still in a running state, I would like to set it to Restatable.
Cheers,
Joe.
I am trying to write a Server Routine that will loop through all the RT_STATUSnn files and potentially set the status to Aborted/Restartable (for restatable jobs). I am aware of the DSJOB command with the reset option and manually resetting jobs through the directory client but we are envisaging a scenario in our active/passive environment where if failover occurs mid execution of a job and the Projects directory is mounted on the passive engine then the RT_STATUS file may state that the job is still in a running state, I would like to set it to Restatable.
Cheers,
Joe.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There are different kinds of records in RT_STATUSnn, each with their own structure. For example there is a record for the job itself, but there are also records for active stages and other processes. This information is used, inter alia, for the status shown in Director client's Monitor view.
So you need to look at the first few fields to determine which kind of record you've got, before figuring out which structure it is you're attempting to update.
Status values are enumerated, but these values are easily found in one of the header files.
So you need to look at the first few fields to determine which kind of record you've got, before figuring out which structure it is you're attempting to update.
Status values are enumerated, but these values are easily found in one of the header files.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.