corrupted trace file - 10.1.0.4

Previous topic - Next topic

jsquizz

I'm running on - CMOD 10.1.0.4, RHEL 7.4, DB2 11, ICOS..

Has anyone ever seen this in 10.1 (or even an older version...)

I did a system trace (ALL=15) and I'm trying to format the trace file so I can take a look at it..

[jeff@cmodtech tmp]$ arstfmt -i 08092019_cmodtech.trace.log -o trxout
fatal error 'invalid character 0x10' at line: 3999​

This is happening on 3 otherwise fully functioning systems with the same specs. Ive tried permissions, different file systems, etc. No luck.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

You may need to use the -c option to change the codepage.

Alternatively, you may have found a bug in the debugging code...  if that's true, I think you deserve a prize.  :D

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jsquizz

#2
Quote from: Justin Derrick on August 26, 2019, 12:39:28 PM
You may need to use the -c option to change the codepage.

Alternatively, you may have found a bug in the debugging code...  if that's true, I think you deserve a prize.  :D

-JD.

I'll try -c. But, I've opened a case and IBM said they can't duplicate the issue, lol.

Update -

[cmodtech@techbox~]$ arstfmt -i 0811092019_cmodtech.trace.log -o trace.codepage -c 1208

This works, no error, and I can read the trace file. strange. will follow up with IBM.

thanks jd
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

Check your environment variables for the LANG parameter.  It might be set to a codepage/region that's different from your CMOD database / environment.

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR