Manually sets the Last Change Time (LCT) for the database belonging to the specified region.
In each regional database, the LSMS updates the LCT when the LSMS receives transactions from that NPAC. When the LSMS automatically recovers from a temporary loss of association with an NPAC, it uses the LCT to determine the time range for which to request that the NPAC resend transactions.
Use this command to manually set the LCT when performing a bulk download of files from the NPAC (see “NPAC-LSMS Download Procedure”, 32
chglct
The user must be logged in with the user name lsmsadm.
$LSMS_TOOLS_DIR/chglct -h -r <region> [-d|-s <YYYYMMDDhhmmss>]
Characters |
Meaning |
Range |
---|---|---|
YYYY |
Year |
Any four digits |
MM |
Month |
01–12 |
DD |
Day |
01–31 |
hh |
Hour |
00–23 |
mm |
Minute |
00–59 |
ss |
Second |
00–59 |
Display the last changed timestamp for the Midwest region$ chglct -d -r Midwest
Midwest last changed timestamp: 20011107113017 Local Time: 11/7/2001 6:30:17 GMT Time: 11/7/2001 11:30:17
$
None.
None.
Exit Code |
Error Message |
Cause |
Suggested Recovery |
---|---|---|---|
-1 |
Syntax error |
User entered command with incorrect syntax. |
Try the command again with correct syntax. |
1 |
DbError |
Database exception. |
Contact the My Oracle Support (MOS). |
2 |
InvalidUser |
A user with a username other than lsmsadm attempted to run this command. |
Log in as lsmsadm and try the command again. |
3 |
UnknownError |
Contact Oracle. |
Contact the My Oracle Support (MOS). |
None.