Author Topic: Can't get a trace file written  (Read 2256 times)

jeff44

  • Newbie
  • *
  • Posts: 2
    • View Profile
Can't get a trace file written
« on: July 20, 2018, 12:50:47 PM »
We're having trouble getting a trace file on z/os.
Our  config file has   
Code: [Select]
ARS_TRACE_SETTINGS=/etc/ars/trace.settings
ARSSOCK=/var/arspvb/tmp/server.trace
(The arssock line was new and did not seem to have any effect)

Our /etc/ars/trace.settings has:
Code: [Select]
[TRACE]
TRACE_FILE=/var/arspvb/tmp/server.trace
TRACE_LEVELS=ALL=15
APPEND=0
TRACE_FORMAT=TEXT
COMPONENT_LEVEL=777777777777777777777777

We Activated the system trace in the Administrator Client with parameters ALL=3
yet we still never seem to get a server.trace file. We do have a basic arssock.err.
Any ideas?

Thanks!

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Can't get a trace file written
« Reply #1 on: July 22, 2018, 05:40:44 PM »
Perms on the directory being written to? I've ran into that a few times using trace on 8.5
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: Can't get a trace file written
« Reply #2 on: July 23, 2018, 05:01:11 AM »
The only differences we have on our z/OS system is we have ÝTRACE¨ instead of [TRACE].  I know that was required versions ago, not sure if it's still relevant. We also don't have the TRACE_LEVELS= set in trace.settings.

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Can't get a trace file written
« Reply #3 on: July 23, 2018, 07:41:51 AM »
A colleague had this write up which I think is still accurate:

https://www.ibm.com/developerworks/community/blogs/e8206aad-10e2-4c49-b00c-fee572815374/entry/cmod_trace?lang=en

There's also the -1 and -2 trace parms - am curious as to why you're not using those?

Ed

#zOS #ODF