Rebuilding the JOBDATA.PUB.NSD Index File

 

There are various reasons for performing this operation.  Generally, the JOBDATA file is the index that the Status program uses to show you which $STDLISTs are available for online viewing.  JOBDATA is always open for update access when the JobPak job is running, so if you always leave JobPak running, even during your backups, it will never get backed up.

 

There is a program named RJOBDATA.JPAK which is used to recover the JOBDATA file in case your’s goes missing for some reason.  It recovers the file by quickly looking at the file label info of each $STDLIST that is stored in the NSD account.

 

The amount of time it takes to recover the JOBDATA file is dependent upon the number of saved files you have and how speedy your system happens to be that day.  For an average installation and configuration, allow about twenty minutes for this task.

 

After you complete these steps, when you view your $STDLISTs in the Status program they may appear “out-of-order”.  This is due to the unorganized nature of the recovery program.  After the next retention cycle, merge, or whatever you call it, the JOBDATA file is reorganized and your files will appear more normal, assuming that we all know what “normal” is.

 

Here are the steps…

 

q    Sign on as MGR.NSD,PUB

 

Ensure that you are in the PUB group.

 

q    Make sure that the JobPak job is not running.  To stop JobPak use this command:

 

JPAKCOM.JPAK STOP

 

q    Purge the JOBDATA.PUB.NSD file:

 

PURGE JOBDATA.PUB.NSD

 

q    Rebuild the JOBDATA file using this command:

 

RJOBDATA.JPAK

 

q    Rebuild the Status Log information:

 

MERGEDIT.JPAK.NSD “-rebuild 0000”

         

You can replace the 0000 with the 24-hour time that your STATUS logs switch over, as in 2030 (for 8:30 pm).  You can re-execute the MERGEDIT command as many times as you wish until you get it right.

 

q    Perform this next MERGEDIT command only if you are using JobRescue 6.1F:

 

Check your version if you don’t know which JobRescue is installed

 

PRINT BUILD.JPAK.NSD

 

If it says 6.1F then you are using 6.1F.  If it does not say 6.1F then you are not using 6.1F.

         

So, if you are using 6.1F, enter this command:

 

MERGEDIT.JPAK.NSD -logbe

 

You should now have access to your data via the STATUS program, as well as be able to restart the JobPak job.

 

If you have any questions, please contact Nobix support at support@nobix.com, or (800) 538-3818, or (925) 659-3500.

 

If you need after hours support, call (925) 659-3500, transfer to extension 160 and leave a detailed message.  We will call you right back.