Plaintiff, a merchant seaman and onetime radio operator, appeals from the dismissal for lack of subject matter jurisdiction of his suit which was originally to declare unconstitutional the Coast Guard regulations governing the issuance of radio operators’ licenses on merchant marine vessels, promulgated pursuant to 46 U.S.C. Section 229, to direct the issuance of a license and for other relief.
*336 Upon stipulation of the parties, plaintiff resubmitted his license application and the license has now been granted. Thus the principal charge became moot. The remaining, belatedly asserted, claim seeking damages for the alleged wrongful withholding of the license for 18 years was properly dismissed as the Government has given no consent to be sued on such a claim. See 28 U.S.C. Section 2680(a). Viewed as a personal claim against the Commandant the latter is immune from suit based upon the exercise of a discretionary duty. Barr v. Matteo, 360 U.S. 564, 79 S.Ct. 1335, 3 L.Ed.2d 1434 (1959). Moreover, we think Judge Ryan did not abuse his discretion in refusing to transfer this suit to the Court of Claims, see 28 U.S.C. Section 1406(c), or to award costs to plaintiff.
Affirmed.