A United States military occupation code, or a military occupational specialty code (MOS code), is a nine-character code used in the United States Army and United States Marines to identify a specific job. In the United States Air Force, a system of Air Force Specialty Codes (AFSC) is used.