To use the FCD flags you must have access to the FCD; see the topic Accessing the FCD in the section File Handler and Sort APIs.
File tracing is controlled by two flag bit settings within the FCD:
Change these bit settings as required to control tracing for individual files.