chglct

Change Last Change Time

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

Keyword

chglct

Permission

The user must be logged in with the user name lsmsadm.

Syntax

$LSMS_TOOLS_DIR/chglct -h -r <region> [-d|-s <YYYYMMDDhhmmss>]

Options

-h
Displays help information
-r <region>
Display or set the LCT in Greenwich Mean Time (GMT) for the region specified by <region>. Possible values for <region> are:
  • Canada
  • Midwest
  • MidAtlantic
  • Southeast
  • Southwest
  • Northeast
  • Western
  • WestCoast
-d
Display the current value of the LCT (in GMT) value for the specified region. The value has 14 characters in the form YYYYMMDDhhmmss which has the format shown in Table 1.
-s <YYYYMMDDhhmmss>
Set the value of the last change timestamp (in GMT) value for the specified region to the value indicated by the specified character string, which has 14 characters in the form YYYYMMDDhhmmss.
Time Value for chglct

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

Sample Output

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

$

Related Commands

None.

Response Notes

None.

Possible Errors

Error Messages: chglct

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).

Files

None.