JOB NAME:      LLDC - EDUSERV END OF MONTH MASTER
               FILE LOAD/ARCHIVE
     
JOB PURPOSE:   This job copies the end of month EduServ master
               file to the EOM VSAM file and to archive tape for
               permanent retention.
  
JOB SUBMISSION:
  *Normal Run Frequency:   Once per month, whenever EduServ sends the
   University an end of month version of CU's loan master file.
 
  *Conflicts:  This job should NOT be run while LLRA (State Aging report) 
   is running.

  *Dependencies:  Run LLRA (State Aging) after this job if
   scheduled on the same    day/night.
                                
  *Run Considerations:   This job re-initializes the end of month
   loan master vsam file.  If this job fails, any job run (including   
   user Easytrieves) that reads file LAMV.LOAN.EOM.MASTER will fail if it is
   run prior to correcting LLDC.  This job must bring in the most recent
   non-labeled end of month tape from EduServ in order to provide accurate
   results.

PROGRAM LIST:  
  *LAPR004 - RE-FORMAT FILE INTO VSAM LOADABLE FORMAT (I.E. RE-LOCATE KEY   
   FIELDS SO THEY ARE STORE CONTIGUOUSLY IN THE FILE) - LLDC#2

JOB SETUP:
  *Symbolic Parameters:
       MONTH - Month corresponding to month of EduServ supplies tape
       YEAR - Year corresponding to current calendar year
       VOLSER - Volume serial number from EduServ supplied tape
       PRTM1 - Dispatch parameters for reports

  *Control records: None
       
FILES:
  *Input:
       (T)   EduServ supplied master file tape (foreign tape)
          This file must be read BLP.         

  *Output:
       (T)   LAM.EOM.FREEZE.D&MONTH&YEAR (End of month
             EduServ master file archive tape)                  

  *I/O:
       (D)  LAMV.LOAN.EOM.MASTER
 
REPORTS:
  *Title:       LISTCAT - List Catalog of VSAM file  
  *Description: This is a canned utility report provided for VSAM files.
     
PROGRAM NAME AND DESCRIPTION:
  *LAPR004 - Will return a condition code of 0000 upon successful loading of
   input tape.

  MESSAGE: INVALID OPEN ON LAMMAST
  ACTION:  CHECK PRVIOUS STEP.  IF DEFINE FAILED, CORRECT AND RERUN JOB.

  MESSAGE: INVALID WRITE LAMMAST
  ACTION:  IF STATUS IS 24, INCREASE SPACE IN LLDC1 AND RERUN JOB.

VALIDATION PROCEDURE:
  *    Check JCL messages for error condition return codes in any step.
  *    Review report LISTCAT to determine how many loan records
       successfully loaded.  LLDC should load in excess of 49,000
       records (listed under subheading STATISTICS for REC-TOTAL).

RERUN INSTRUCTIONS:
  LLDC Step #                                                  Program Name
            1 RERUN JOB.                                             IDCAMS
  MESSAGE:  SEE VSAM UTILITIES ERROR MESSAGES MANUAL
  ACTION:   CORRECT ERROR AND RESUBMIT THE JOB

              2 RERUN JOB.                                          LAPR004
  MESSAGE:  INVALID OPEN ON LAMMAST
  ACTION:   CHECK PREVIOUS STEP.  IF DEFINE FAILED, CORRECT AND RERUN JOB.

  MESSAGE:  INVALID WRITE TO LAMMAST
  ACTION:   IF STATUS IS 24, INCREASE SPACE IN LLSC1 AND RERUN JOB.

            3  RERUN JOB                                             IDCAMS
  MESSAGE:  SEE VSAM UTILITIES ERROR MESSAGES MANUAL
  ACTION:   CORRECT ERROR AND RERUN J0B.

            4  RERUN JOB                                           IEBGENER
  MESSAGE:  SEE UTILITIES MESSAGES MANUAL FOR IEBGENER ERROR MESSAGE
  ACTION:   CORRECT ERROR AND RERUN JOB.

CHANGE LOG:
  930712    New job (PN) SR6893
  930901    Added steps to recreate eom vsam file (PN) SR6893
  10/20/93  Added archive tape name (to other ouput) (PN) SR6893