The anypiab batch calculator takes as input a file made up of cases in the
usual benefit calculator format. As an example, there is a file named anypiab.pia
which is simply the concatenation of all the sample*.pia files. If the
input file is in the same directory as the executable, then the anypiab batch
calculator is executed by typing
at a command line, pressing enter, then typing
at a command line and pressing enter. Note that the first anypiab represents
anypiab.exe. Once that starts the program running, it reads the
second anypiab, appends ".pia", and opens and reads anypiab.pia.
Status messages come to the screen, while the results go to a file named OUTPUT.
Results consist of one or more lines per case read. The information on each
line of output depends on the type of estimate:
The first line consists of the
Social Security number, the date of birth, the PIA, the MFB, the rounded benefit amount,
the age at benefit date, the PIA factor code, and a true/false indicator for the worker
being insured for the benefit, if it is an old-age or disability case.
There is one additional line for each family member, if any. Each line for a
family member consists of the Social Security number of the worker, the date of birth
of the family member, the PIA, the MFB, the unreduced benefit, the reduced benefit,
the PIA factor code, the BIC, and a true/false indicator for the worker being insured
for the benefit.
If anypiab is compiled with DETAILS defined, then there is a file named details.out
with detailed output.