NetBase for MPE Reference Guide
Chapter 5
5-20
Checking the State of Shadowed Files
The following sections describe two ways to check the state of shadowed files, one using
NBDIR.PUB.NETBASE with the LISTS command, and the other using NBSYNC.PUB.NETBASE, VERIFY.
NBDIR.PUB.NETBASE - LISTS Command
Using NBDIR.PUB.NETBASE, issue the LISTS command and check the status flags. If an S appears in
the SYN column, that indicates the file is out of sync. The Sync Lost at ... message is the date and
time of the most recent sync error.
:RUN NBDIR.PUB.NETBASE
D> lists @.@.@,info
Node: DAFFY Directory: NBD.DATA.NETBASE
S Q U D S L
--------TRANSPORT REFERENCE-------- ---LOCAL COPY REFERENCE--- Y U S I H O
File Group Account Node File Group Account N E R S R G
DIR1000X DATA NFSDEV BUGS -> --Same-- S - - D - -
Sync Lost at 03/03/96 13:27:08
Last Update at 02/22/96 12:15:39
FURP0000 DATA NFSDEV BUGS -> --Same-- - - - - - -
Last Update at 01/18/96 14:54:19
HPUX0000 DATA NFSDEV BUGS -> --Same-- - - - - - -
Last Update at 04/20/96 12:17:20
INODE DATA NFSDEV BUGS -> --Same-- S - - - - -
Sync Lost at 03/03/96 13:19:47
Last Update at 04/20/96 12:17:20
NBSYNC.PUB.NETBASE, VERIFY
Using the utility NBSYNC.PUB.NETBASE with the VERIFY entry point is another method for checking
the sync status. This option on NBSYNC causes a JCW, VERJCW, to be set to a particular value
depending on the status of the shadowed file.
:RUN NBSYNC.PUB.NETBASE,VERIFY;INFO=“PAYDB.FILE.PAYROLL”
Note. If the VERJCW value is <> 0, then you have some kind of problem with this file.
Wildcards can be used in the INFO string.