Auto-detection of SDNF Formats
- Last UpdatedJun 11, 2025
- 1 minute read
The system can automatically detect which version of the file you are inputting.
You can set up the default SDNF format version in the SDNFUserData.pmlfnc file, the default version of which can be found in the SDNF\dflts\user\SDNFPML\functions folder in the user data folder. The !!SDNFSDNFVersion variable must be precisely one of the two suggested text strings.
-- Default SDNF file format
-- currently |2.0| or |3.0|
!!SDNFSDNFVersion = |3.0|
You can inspect the file header as before and an added line indicates which SDNF version it has found.

If you change the version setting, the system does not work because it is expecting a file of a radically different format. However, the interface fails in a controlled manner producing a "catch-all" error message.

If you manually select the wrong SDNF version, you may also get an error message in the log file about syntax errors in the incoming file, indicating that the Packet 0 records are different.