505) Authorizes service secretaries to allow officers in a grade above O-4 who are serving in military occupational specialties designated by the secretary to remain on Active Duty for up to 40 years of active service.