read "Deployment Type? (G)ateway or (I)HE: ", dtype
dataentry ; first data entry routine
if (dtype="G") {
set dtypeFull = "Gateway"
} elseif (dtype="I") {
set dtypeFull = "IHE"
} else {
write !,"Invalid Choice",!
goto selecttype
}
Write !, "Starting ", dtypeFull," deployment..."
This was what I first wrote. Here is the test, first putting in an invalid value:
Deployment Type? (G)ateway or (I)HE: F
Invalid Choice
Deployment Type? (G)ateway or (I)HE: G
Starting Gateway deployment...
Then I saw this