12.3 The .qcn settings file
Generate the installed template rather than copying an old project:
nlmx qc-nm --print-config review.qcn
Use it with nlmx qc-nm -c review.qcn. Relative paths inside resolve against the settings file's folder, and CLI values override file values.
Sections
| Section | Purpose |
|---|---|
[input] |
control stream, dataset override, delimiter and row cap |
[nonmem] |
target version, line/label/condition limits, extra records |
[code] |
undefined/unused/safety rules and known variables |
[parameters] |
bound proximity, OMEGA CV range, zero starts, labels |
[estimation] |
INTERACTION, MAXEVAL/TOL and covariance policy |
[tables] |
required options and diagnostics |
[fix] |
master enable, output name and each correction |
[checks], [severity] |
catalogue selection and governance |
[output] |
report formats, caps and pipeline failure level |
Study-specific review
Add external variables created by $INFN or verbatim code to known_variables; otherwise COD06 can warn legitimately. Adjust target NONMEM version and site records. Define table diagnostics according to the model type. Decide whether covariance is required and which automated numerical corrections are allowed.
Do not merely uncomment every setting. The template documents defaults; your version-controlled file should expose reviewed deviations and paths.
Minimal starting pattern
A novice-friendly file can begin with only a control stream, target NONMEM version, correction decision, and output policy. Generate the template, retain its comments in a reference copy, and commit the smaller reviewed configuration used for the run. Before relying on precedence, execute --print-config with the installed nlmx release and compare the effective values with the command line. Configuration is part of the analysis evidence: changing a severity, known variable, or enabled correction can change the verdict without changing the .ctl file.
Common mistakes
- Using
.tomlinstead of the typed.qcnextension. - Declaring an undefined typo as a known external variable.
- Enabling every correction without risk review.
- Reusing table/estimation policy from a different analysis purpose.
Checklist
- Generate from the installed version.
- Pin NONMEM version and dataset path policy.
- Review known variables, diagnostics and corrections.
- Version
.qcnbeside model review records.
Further reading
See configuration precedence, input/data settings and correction catalogue.