Both CN and VIA use diesel locomotive classification numbers of the form: XYZ-nnna where:

Examples: