1 02/20/84 compute_bill 2 3 Syntax: compute_bill sat_path pdt_dir 4 5 6 Function: is used by biller.ec to generate billing information as part 7 of the monthly billing process. It totals the usage figures in the 8 PDTs, the miscfile, and the projfile segments, and places the totals in 9 the reqfile entry for each project. It is also used by crank.ec as 10 part of the daily accounting job to update these same segments. 11 12 13 Arguments: 14 sat_path 15 is the pathname of the SAT. 16 pdt_dir 17 is the pathname of the directory containing the PDTs. Generally 18 this directory contains the copies of the PDTs that were copied from 19 the live PDTs during an earlier part of the daily accounting job. 20 21 22 Entry point: 23 compute_bill$update_pdts_from_reqfile 24 This entry is used by the daily accounting job to write the latest 25 per-project information from the reqfile, projfile and SAT 26 into the live PDTs. 27 28 29 Arguments: 30 sat_path 31 is the pathname of the SAT. 32 pdt_dir 33 generally this is the directory containing the live PDTs. The 34 pathname is >system_control. 35 36 37 Notes: The reqfile, projfile, and miscfile segments are assumed to be 38 present in the working directory, and are implicit inputs to 39 compute_bill.