2.1 Logdump Command Summary

The following are category summaries of the Logdump commands.


Table 2-1 Working with Files

Commands Description

CD

Sets the default directory, volume or subvolume.

DATAFILE

Opens an Enscribe file from within Logdump.

GGSAUDITREAD

Reads the TMF audit trail.

LOG

Writes a session log.

NEXTTRAIL

Closes the current file and opens the next file in the trail sequence.

OPEN

Opens a trail file or extract file.

POSITION

Sets the read position in the file.

SAVE

Writes record data to another file.

WRITELOG

Writes text to a session log.

VOLUME

Sets the default directory, volume or subvolume.



Table 2-2 Viewing Information

Command Description

BULKIOSTATS

Displays bulk I/O statistics.

COUNT

Displays record count information.

FILES

Displays file names in the current directory or subvolume.

ENV

Displays current Logdump settings.

FILEHEADER

Displays file header information.

HASHCLEAR

Clears the memory allocated to hash statistics generated when HASHSTATS is enabled.

HASHSTATS

Enables or disables the display of statistics about file name when a COUNT DETAIL command is issued.

NOTIFY

Displays the number of records scanned, the trail position, and the record timestamp at specified intervals when using COUNT and records are being suppressed from display through filtering options.

SHOW

Displays internal information such as the current Logdump environment, a list of record types, and current filter settings.

TIME

Displays the current time in local and GMT formats.



Table 2-3 Selecting Data and Records

Command Description

BEGIN

Searches through a TMF or trail to locate a record at or near the specified time.

ARGETNONDATACHANGES | ARSTOPNONDATACHANGES

Includes or excludes records that did not result in a change to the database.

DUMP

Displays the specified number of bytes of data from the current position in the file.

FILTER

Filters the display of records.

NEXT

Displays the next record(s) in the file.

SCANFORENDTRANS

Finds a record that is the last record of, or the only record in, a transaction, and then displays the first record of the next transaction.

SCANFORHEADER

Finds the start of the next record header.

SCANFORMETADATA

Finds a specific metadata record.

SCANFORRBA

Finds a specific relative byte address.

SCANFORTIME

Finds the next record with a specific timestamp.

SCANFORTYPE

Finds the next record of a specific type.

SKIP

Skips a specified number of records.

TMFBEFOREIMAGE

Sets the TMFARLIB to fetch the before image of a record and display it with the after image.



Table 2-4 Caking Conversions

Command Description

CALCTLFKEY

Calculates a unique key for TLF/PTLF records in ACI's BASE24 application.

COMPUTETIMESTAMP

Converts a datetime string to a Julian timestamp.

CTIME

Converts a C timestamp to an ASCII timestamp.

DECRYPT

Decrypts data before displaying it in Logdump.

ENCRYPT

Encrypts file data.

ESBLOCK

Displays NonStop entry-sequenced syskeys as a block number and record number.

FLOAT

Displays a number or hex string as a hex representation and a floating point number.

INTERPRETINTERVAL

Displays a 64-bit Julian interval as dd-hh:mm:ss:ms:us.

INTERPRETTIMESTAMP

Displays a 64-bit Julian timestamp in ASCII format.



Table 2-5 Controlling the Logdump Environment

Command Description

ASCIIDATA | EBCDICDATA

Controls whether data is displayed in ASCII or EBCDIC format on an IBM mainframe.

FMW Generic Topic

Sets the character set on an IBM mainframe.

FMW Generic Topic

Controls whether the table name is displayed in ASCII or EBCDIC format on an IBM mainframe.

DETAIL

Controls the display of detailed record information.

GGSTOKEN

Controls the display of token data.

GGSTOKEN

Controls the display of automatically generated token data.

GHDR

Controls the display of header information.

HEADERTOKEN

Controls the display of header token indicators.

Metadata ddlformat

Displays the TDR columns in Nonstop DDL format.

Metadata defgenformat

Displays the columns in a TDR in the format of a GG def from a definition file.

Metadata detail

Displays tokens and values that make up a metadata record.

Metadata sqlformat

Displays the columns in a TDR in the format of a SQL table create.

RECLEN

Sets the maximum data output length.

SCANSCROLLING

Controls whether a count notification displays on one line or multiple lines.

TIMEOFFSET

Sets the time offset from GMT.

TMFBEFOREIMAGE

Controls whether or not the before image is displayed for update operations from TMF audit.

TMFGETRECADDR | NOTMFGETRECADDR

Controls Logdump's ability to call the ARGETRECADDR() function of TMFARLIB.

TMFIGNORERECCOUNT

Sets the number of records that the TMFARLIB can ignore before returning a CURRENTPOSITION record.

TRAILFORMAT

Sets the trail format to the old version (pre- 6.0) or the new version.

TRANSBYTELIMIT

Sets a byte-count threshold for what is defined as a normal-sized transaction.

TRANSHIST

Sets the size of the transaction history table that is used for tracking transaction size.

TRANSRECLIMIT

Sets a record-count threshold for what is defined as a normal-sized transaction.

USERTOKEN

Controls the display of user token data.



Table 2-6 Miscellaneous Commands

Command Description

DEBUG

Turns on Logdump debugging.

EXIT

Exits Logdump.

FC

Edits a previous command.

HELP

Shows syntax for Logdump commands.

HISTORY

Lists previously issued commands.

OBEY

Executes a series of commands stored in a file.

X

Executes a program from within Logdump.