Determining if Application Work Files Can be Deleted

Most files in $LAWDIR/Productline/work can be deleted as part of normal clean-up operations. This procedure describes how to identify those that are in use by an application and should not be deleted.

Note: Make sure users are off the system when you perform any disk space cleanup.
  1. Check the location $LAWDIR/Productline/work for the following types of files. These should not be removed from the location.
    • Files with names in uppercase. These files might be an in-progress state and should be verified by the team at your site that supports the application that generated the work file.

    • Files used to transfer data to non-Infor systems.

    • ACH bank files that are waiting to be used can also be stored in the work directory.

    • tmp or GLTDIST files listed in your CKPOINT data, restart-info column. See the CKPOINT file example below.

      Note:  Tmp and GLTDISK files that are at least one day old and are not listed in the CKPOINT restart-info column are no longer required and can be deleted.
  2. For any other files that you are unsure of, check with the team at your site that supports the application that generated the work file.
  3. To safely remove unwanted work files, specifically files named "tmp.nnnnn " and "GLTDISK.nnnnn" dump the productline's CKPOINT data using the Infor dbdump or rngdbdump utility.

    Example:

    From a command line in the product line where the work files exist, type

    dbdump productline ckpoint

Sample CKPOINT file

Following is a typical CKPOINT dump record in a tmp.nnnnn work file.

UserName JobName StepNbr RestartInfo 
johnc    IC130    0       ICTREPRT/ptchdev5/apps/patch10/work/tmp1.13828450 

The work file above is located below at: 
/ptchdev5/apps/patch10/work 

ptchdev5 dodge-> ls -la tmp1.13828450 
-rw-rw-rw- 1 johnc lawson 1652 Oct 04 08:56 tmp1.13828450