A complete guide to the DNH command in Amadeus โ how to encode and decode hotel company codes and identify hotels belonging to a master chain.
Hotels in the GDS are identified by two-letter company codes โ not by their full brand names. When you need to book a Marriott, a Sheraton, or a Hilton, the system expects the corresponding code, not the name the customer said. The DNH command is the Amadeus entry that handles this. It allows you to find the two-letter hotel company code from its name, identify the hotel company from its code, and even display all the hotels affiliated with a master chain. This guide explains what DNH does, the syntax for each variation, and when it should be used.
What Does the DNH Command Do?
DNH is the Amadeus GDS command used to encode and decode hotel company codes.
Category: Encoding & Decoding.
It allows you to find the two-letter hotel company code from its name or identify the hotel company from its code. The command is one of a family of encoding and decoding tools in Amadeus โ for example, see the related entries for airlines, cities, and other reference data. Together they keep the booking workflow fast without needing external reference lists.
Encode a Hotel Name into its Two-Letter Code
Display the two-letter code for Sheraton:
DNHSHERATON
This displays the two-letter code for Sheraton. Use it when you know the hotel brand name but not the code โ the system returns the code you need for the booking.
Decode a Two-Letter Hotel Code into its Name
Display the hotel company name for the code HL:
DNHHL
This displays the hotel company name for the code HL. Use it when you have a two-letter code from a ticket, a document, or a colleagueโs note and need to confirm which brand it refers to.
Display Hotels Affiliated with a Master Chain
Display all hotels affiliated with the Marriott master chain code:
DNHMARRIOTT
This displays all hotels affiliated with the Marriott master chain code. Many hotel groups operate multiple brands under the same umbrella, and DNH shows you the full list so you can choose the correct brand code for the booking.
This is particularly useful when a customer asks for โany Marriott propertyโ and you need to see the available brands โ for example Marriott, Courtyard by Marriott, or Residence Inn โ to match the request to the correct code.
Important Notes
- Use DNH for hotel company encoding and decoding.
- It can also be used to display hotels belonging to a master hotel chain.
- Hotel company codes are typically two letters and are used in hotel bookings and hotel-related segments.
- DNH is part of the Amadeus encoding and decoding toolkit โ the same command family used for airlines, cities, airports, and other reference data.
When to Use DNH
Use DNH during the encoding and decoding step whenever you need to identify a hotel company or find its corresponding code. Typical scenarios include:
- Booking a hotel when you know the brand name but not the code.
- Decoding a two-letter code from a ticket, confirmation, or supplier document.
- Confirming the correct brand within a hotel group before booking.
- Searching for hotels belonging to a master chain across multiple brands.
- Checking the code for a hotel group that has recently rebranded or merged.
- Supporting a customer who asks for โany hotel within the groupโ rather than a specific property.
- Adding a hotel auxiliary segment to a PNR with the correct code using HU.
How DNH Fits Into Your PNR Management Workflow
A typical session using DNH might look like this:
- Retrieve the PNR with RT or begin a new booking.
- When a hotel name or code is needed, enter the DNH entry โ for example
DNHSHERATONorDNHHL. - Note the code or name and continue with the hotel booking.
- Add the hotel to the PNR as an auxiliary segment with HU.
- Add any relevant remarks with RM if further detail is required.
- Verify the itinerary with RTIM to confirm the hotel segment appears correctly.
- Save the PNR with ER or ET.
How DNH Relates to Other Encoding and Decoding Commands
- DNH โ encodes and decodes hotel company codes and displays master chain hotels.
- DAN โ encodes and decodes airline names and codes.
- DNA โ related airline name decoding command.
- DNC โ encodes and decodes city names and codes.
- DNS โ related state or reference data decoding command.
- DNE โ encodes and decodes equipment (aircraft) codes.
- DAC โ related airline or reference decoding command.
- HU โ creates a hotel auxiliary segment in the PNR.
The distinction matters: DNH handles hotel codes specifically, while DAN, DNA, DNC, DNE, DNS, and DAC handle airlines, cities, equipment, and other reference data. Use DNH whenever the question is about hotels.
Important: DNH returns the hotel company code or name only โ it does not confirm availability at a specific property, nor does it check rates. For actual hotel availability and booking, use the hotel availability and booking commands within the GDS.
Hotel groups and brands change over time through mergers, rebranding, and new openings. Always verify the code with DNH before entering it into the PNR, especially for newly acquired or rebranded hotels.
Frequently Asked Questions
What does the DNH command do in Amadeus?
DNH encodes and decodes hotel company codes โ it finds the two-letter code from a hotel name, or the name from a code, and displays hotels belonging to a master chain.
What does DNHSHERATON mean?
It displays the two-letter hotel company code for Sheraton.
What does DNHHL mean?
It displays the hotel company name for the code HL.
What does DNHMARRIOTT mean?
It displays all hotels affiliated with the Marriott master chain code, showing the brands that operate under that umbrella.
How is DNH different from DAN or DNC?
DNH is specific to hotels. DAN handles airline names and codes, DNC handles city codes, and other DNA/DNE/DNS/DAC entries handle their respective reference data.
Does DNH check hotel availability?
No. DNH only provides the code or name. For availability and booking, use the hotel booking workflow, then add the hotel segment to the PNR with HU.
Conclusion
The DNH command is the hotel encoding and decoding tool in Amadeus. Use DNHSHERATON to find the two-letter code for a hotel brand, DNHHL to decode a code into its name, and DNHMARRIOTT to see every brand operating under a master chain. It removes the need for external reference lists, keeps your hotel bookings accurate, and is essential when a customer asks about a brand you do not recognise. Remember that DNH only handles codes โ availability and booking are separate steps handled within the hotel booking workflow and added to the PNR with HU. Paired with the other encoding and decoding commands โ DAN, DNA, DNC, DNE, DNS, and DAC โ DNH completes your reference data toolkit and keeps every booking โ hotels, airlines, and cities โ accurate from first entry to final ticket.
Focus Keywords
- DNH command
- Amadeus DNH
- hotel company code Amadeus
- hotel encoding decoding
- DNHSHERATON
- DNHHL
- DNHMARRIOTT
- Amadeus encoding commands
- HU command
- hotel auxiliary segment