That the following sums are hereby appropriated, out of any money in the Treasury not otherwise appropriated, for military pay and for death gratuities and related benefits for survivors of deceased military service members of the Department of Defense for fiscal year 2018, and for other purposes, namely: 101. (a) Such amounts as may be necessary, at a rate for operations as provided for fiscal year 2017 in the Department of Defense Appropriations Act, 2017 (division C of Public Law 115–31 ) and under the authority and conditions provided in such Act, for Operation and Maintenance and Military Personnel accounts for continuing the following projects and activities for which appropriations, funds, or other authority were made available by the Department of Defense Appropriations Act, 2017: (1) The payment of a death gratuity under sections 1475–1477 and 1489 of title 10, United States Code. (2) The payment or reimbursement for funeral and burial expenses authorized under sections 1481 and 1482 of title 10, United States Code. (3) The payment or reimbursement of authorized funeral travel and travel related to the dignified transfer of remains and unit memorial services under section 481f of title 37, United States Code. (4) The temporary continuation of a basic allowance of housing for dependents of members dying on active duty, as authorized by section 403(l) of title 37, United States Code. (b) The rate for operations provided by subsection (a) for each program or activity shall be calculated to reflect the full amount of any reduction required in fiscal year 2018 pursuant to any provision of division D of the Continuing Appropriations Act, 2018 ( Public Law 115–56 ). 102. (a) Such amounts as may be necessary for the following: (1) The payment of pay and allowances to members of the Armed Forces (as defined in section 101(a)(4) of title 10, United States Code), including reserve components thereof, who perform active service during the period for which funds are made available pursuant to this joint resolution