(1) Subject to the provisions of section
3695 of this title limiting the aggregate period for which any person may receive assistance under two or more programs of educational or vocational assistance administered by the Department of Veterans Affairs, a participant shall be entitled to a maximum of 36 monthly benefit payments (or their equivalent in the event of part-time benefits).
(2) Except as provided in paragraph (5)(E) of this subsection and in subsection (e) of this section and section
3233 of this title and subject to section
3241 of this title, the amount of the monthly payment to which any eligible veteran is entitled shall be ascertained by
(A) adding all contributions made to the fund by the eligible veteran,
(B) multiplying the sum by 3,
(C) adding all contributions made to the fund for such veteran by the Secretary of Defense, and
(D) dividing the sum by the lesser of 36 or the number of months in which contributions were made by such veteran.
(5)
(A) Notwithstanding any other provision of this chapter or chapter
36 of this title, any payment of an educational assistance allowance described in subparagraph (B) of this paragraph
(i) shall not be charged against the entitlement of any eligible veteran under this chapter; and
(ii) shall not be counted toward the aggregate period for which section
3695 of this title limits an individuals receipt of assistance.
(B) The payment of an educational assistance allowance referred to in subparagraph (A) of this paragraph is any payment of a monthly benefit under this chapter to an eligible veteran for pursuit of a course or courses under this chapter if the Secretary finds that the eligible veteran
(i) in the case of a person not serving on active duty, had to discontinue such course pursuit as a result of being ordered to serve on active duty under section
688,
12301 (a),
12301 (d),
12301 (g),
12302, or
12304 of title
10; or
(ii) in the case of a person serving on active duty, had to discontinue such course pursuit as a result of being ordered to a new duty location or assignment or to perform an increased amount of work; and
(iii) failed to receive credit or training time toward completion of the individuals approved educational, professional, or vocational objective as a result of having to discontinue, as described in clause (i) or (ii) of this subparagraph, his or her course pursuit.
(C) The period for which, by reason of this subsection, an educational assistance allowance is not charged against entitlement or counted toward the applicable aggregate period under section
3695 of this title shall not exceed the portion of the period of enrollment in the course or courses for which the individual failed to receive credit or with respect to which the individual lost training time, as determined under subparagraph (B)(iii) of this paragraph.
(D) The amount in the fund for each eligible veteran who received a payment of an educational assistance allowance described in subparagraph (B) of this paragraph shall be restored to the amount that would have been in the fund for the veteran if the payment had not been made. For purposes of carrying out the previous sentence, the Secretary of Defense shall deposit into the fund, on behalf of each such veteran, an amount equal to the entire amount of the payment made to the veteran.
(E) In the case of a veteran who discontinues pursuit of a course or courses as described in subparagraph (B) of this paragraph, the formula for ascertaining the amount of the monthly payment to which the veteran is entitled in paragraph (2) of this subsection shall be implemented as if
(i) the payment made to the fund by the Secretary of Defense under subparagraph (D) of this paragraph, and
(ii) any payment for a course or courses described in subparagraph (B) of this paragraph that was paid out of the fund,
had not been made or paid.