Encode with wildcard (partial name)
Amadeus command · Encode a city or airport
DAN DHA*TipHover or tap any part of the entry — its meaning is highlighted below.
What does each part of the entry mean?
DANEncode city/airport name entryDHAFirst letters of the name*Wildcard — match any ending
Generate this entry with your own values
Change the highlighted values — the command code, separators and options stay exactly as documented.
What does DAN DHA* do in Amadeus?
Finds the 3-letter IATA code for a city or airport when you know only its name. In Amadeus, the entry is DAN DHA* (encode with wildcard (partial name)).
When should you use it?
- A passenger names a city and you need the code for availability
- Checking whether a city has several airports
How do you run it?
- At the Amadeus terminal prompt, type
DAN DHA*, replacing the example values with your own. - Press Enter to transmit the entry and read the response.
- Next: Use the code in an availability or fare display entry.
What is the equivalent in Sabre and Galileo / Travelport?
| GDS | Entry | Function |
|---|---|---|
| Amadeus | DAN DHA* | Encode with wildcard (partial name) (this page) |
| Sabre | W/-CCDHAKA | Encode city / airport |
| Galileo / Travelport | .CEDHAKA | Encode city / airport |
Compare all three side by side →
Notes and restrictions
- Example values (names, dates, codes, numbers) are illustrations. Replace them with the real booking data.
What can go wrong, and how do you fix it?
An unfamiliar code appears in a display
Decode the city, airline or country code before you change anything.
A connection looks too short
Check the minimum connecting time at the airport before selling the connection.
DMJFKMinimum connecting times
How was this entry checked?
Documented entry — The entry matches the source document character for character; only example values (names, dates, numbers) are illustrations.
- Source
- GDS command-entry training references for Sabre, Amadeus and Galileo, and a GDS basics guide
- Edited by
- Innovate Solution GDS Command Hub team — explanations written in our own words
- Last updated
- Not tested
- Entries are checked against the source documents, not run on a live terminal. Office settings can change the response.
Other Amadeus entries for this task
What next?
Innovate Solution GDS Command Hub — a GDS knowledge centre maintained by the Innovate Solution team, makers of InnoTravelTech and ReservationHub.
Command syntax is compiled from GDS training reference material; explanations are written by our team. Entries can behave differently depending on office settings, agreements and system versions, so confirm unusual entries in your GDS help pages. Sabre, Amadeus, Galileo and Travelport are trademarks of their respective owners. Sources & editorial policy · GDS troubleshooting





