Previous Topic: 4.3.1.6.2 External Journal File Update Job Example

Next Topic: 4.3.1.7.1 External Journal File Input Routine Worksheet

4.3.1.7 Specifying an Ext. Journal File Input Routine


This section only applies if you are specifying options for
an external journal file in an external file unit.

The external journal file input routine contains the SAS code
to read the unit-level external file.  This SAS routine is
required.  Write the routine by selecting Option 6 on the
Rate Table File Options Menu (MWF;4;2;3;6;6).  The routine is
automatically placed in the ACTUjjjI member in your
prefix.MICS.USER.SOURCE data set, where "jjj" is the external
journal file name.  ACTUjjjI is created if it does not exist.


CODING GUIDELINES

o Assign either YEAR, MONTH, ACTYEAR, and ACTMONTH or assign
  ENDTS and YEAR, MONTH, ACTYEAR, and ACTMONTH will be set
  automatically based on ENDTS and your CA MICS and
  Accounting calendars.

o Assign SYSID and SUBSYSID if you are using system or
  subsystem algorithm qualification.

o Quantities used for charging must be read from the input
  file.

o COSTCTR variables must be assigned in the COSTRTE member in
  the sharedprefix.MICS.PARMS data set.  In COSTRTE, you can
  test variable ROUTINE for the value of fffINPUT where "fff"
  is the external file name.

o If you are using duplicate data checking for this external
  journal file:

  - Assign the unique time stamp to the ENDTS element.

  - Put END=ACTEOF on the SET or INFILE statement.  If you do
    not do this, the update job will abend.

The following sections contain a worksheet and example to
help you write the external journal file input routine:

 1 - External Journal File Input Routine Worksheet
 2 - External Journal File Input Routine Example