Amazon books

Monday, December 3, 2012

Some LOGDUMP commands for Golden Gate


--LOGDUMP Golden Gate

--View file header
Logdump 1> fileheader on

--View record header
Logdump 1> ghdr on

--Add column information
Logdump 1> detail on

--Add HEX and  ASCII data values to column list
Logdump 1> detail data

--To control how much record data is displayed
Logdump 1> reclen 280

--Go to first record
Logdump 1> pos 0
Logdump 1> next (or just type n)

--Position to aproximate RBA
Logdump 1> pos
Logdump 1> scanforheader (or just type sfh) --Go to next header

--Count records in trail
Logdump> count

--Filtering including a file name
Logdump> filter include filename TCUST*
Logdump> filter match all
Logdump> n

--Locating a Hex Data Value
Logdump> filter inc hex /7776543/
Logdump> pos 0
Logdump> n


--Save records from the current position to a new trail file
Logdump> save newtrail 10 records

--Create a log for your session
Logdump> log to temp1_session.log

--Stop logging
Logdump> log stop

Best Regards,
Paulo Portugal

No comments:

Post a Comment