NetBase for MPE Reference Guide

NetBase Shadowing
5-27
Example 3
You may also resync a file using a copy utility such as DSCOPY. These utilities, however, typically
copy the file into a NEW file, rather than retaining the OLD file label information of the original file.
In this case, it is necessary to tell NetBase the original modify date and time information from the
master copy of the file.
For example, to resync the file BANNER.DATA.NETBASE that has been DSCOPYed to the shadow
system, it is first necessary to determine the last modify date and time of the master file:
:LISTF BANNER.DATA.NETBASE,3
********************
FILE: BANNER.DATA.NETBASE
FILE CODE : -400 FOPTIONS: BINARY,FIXED,NOCCTL,STD
BLK FACTOR: 1 CREATOR : **
REC SIZE: 256(BYTES) LOCKWORD: **
BLK SIZE: 256(BYTES) SECURITY--READ : ANY
EXT SIZE: 18(SECT) WRITE : ANY
NUM REC: 11 APPEND : ANY
NUM SEC: 32 LOCK : ANY
NUM EXT: 1 EXECUTE : ANY
MAX REC: 11 **SECURITY IS ON
MAX EXT: 1 FLAGS : NO ACCESSORS
NUM LABELS: 6 CREATED : FRI, FEB 15, 1996, 3:33 PM
MAX LABELS: 6 MODIFIED: THU, MAR 19, 1996, 8:28 AM
DISC DEV #: 2 ACCESSED: THU, MAR 19, 1996, 8:28 AM
CLASS : DISC LABEL ADDR: **
SEC OFFSET: 1536
This shows that the last modify date and time for BANNER.DATA.NETBASE on the master system is
Thursday, March 19, 1996 at 8:28 a.m. Using this information, run the NBSYNC utility with the
ENTER entry point on the shadow system:
:REMOTE
SYS-B:RUN NBSYNC.PUB.NETBASE,ENTER
NetBase Shadowing Reset Program [x.x] Update n (C) QUEST Software 1996
Enter shadow filename: BANNER.DATA.NETBASE
Reset date/time [03/19/96 17:51]? 03/19/96 08:28
BANNER.DATA.NETBASE has been reset to THU, MAR 19, 1996, 8:28 AM
Enter shadow filename: //
END OF PROGRAM
: