12.4 Inputs, dataset override and NONMEM version
The control stream can be positional, supplied by --ctl, or configured under [input].control_stream. The dataset normally comes from $DATA, resolved relative to the control stream. --data or [input].data substitutes another file for reconciliation without rewriting $DATA.
When to override the dataset
Use an override when reviewing a portable control stream whose $DATA path is environment-specific, or when deliberately checking it against a candidate dataset revision. Record the mismatch explicitly. A clean result against the override does not prove the literal $DATA path works in NONMEM.
--no-data-check is for source-only inspection when data are unavailable. It makes data-dependent INP/DAT checks N/A. It must not be used to claim that mapping or selection conditions were verified.
Target version
--nm-version accepts 7.2–7.6 in the checked implementation; default is 7.5. It governs version-sensitive expectations such as availability of METHOD=NUTS and configured portability limits. The .qcn template defaults to 160 characters per line even though newer releases can accept more, deliberately supporting older portability.
Delimiter and row cap
Dataset delimiter defaults to auto. Configuration can cap rows read at one million, a safety limit rather than a scientific sample limit. A truncated read must never be interpreted as full reconciliation.
Input precedence in practice
Supply the model once: use the positional path for an interactive run, --ctl when a calling system prefers named arguments, or [input].control_stream for a repeatable configuration. The positional value takes precedence, followed by --ctl, then the settings value. Avoid specifying three different models merely to test precedence; it makes the command record difficult to audit. After resolution, confirm the exact control-stream and data paths printed in the summary before interpreting any finding.
Common mistakes
- Checking against an override but running NONMEM against another
$DATAfile. - Treating
--no-data-checkN/A results as passing. - Selecting the newest NONMEM version regardless of deployment environment.
- Ignoring delimiter ambiguity in mixed-format files.
Checklist
- Record exact control-stream and dataset hashes.
- Explain every dataset override.
- Match target NONMEM version to execution environment.
- Confirm the full intended dataset was read.
Further reading
See artifact discovery, $INPUT checks and $DATA checks.