Browse Prior Art Database

Delete Function for Package Files

IP.com Disclosure Number: IPCOM000122266D
Original Publication Date: 1991-Nov-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 3 page(s) / 93K

Publishing Venue

IBM

Related People

Anderson, M: AUTHOR [+3]

Abstract

Beginning in V2R1 of PC Support/400 (PCS) the files that make up a particular piece of an application can be logically grouped together by using package files. These package files contain lists of files that should either be found on the PWS or deleted from the PWS in order for the associated function to perform properly.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Delete Function for Package Files

      Beginning in V2R1 of PC Support/400 (PCS) the files that
make up a particular piece of an application can be logically grouped
together by using package files.  These package files contain lists
of files that should either be found on the PWS or deleted from the
PWS in order for the associated function to perform properly.

      As in previous releases, when PCS Update runs it will make sure
that the files already on the PWS are at the same level as the files
on the host.  However, Update will now also verify that the correct
set of files exists on the PWS according to the functions the user
desires.  This is accomplished through the use of package files.

      The files making up each function of an application (including
PC Support) will be contained in separate package files.  For each
function that the user has on the PWS, there will also be a copy of
that function's package file on the PWS.  When the time/date of the
host package file and the PWS package file differ, the host file is
processed (as explained below) and copied to the PWS.

      Package files contain a list of files to be added to or removed
from the PWS when Update runs.  One of two keywords signifies whether
the file is part of the package (member file) or should be deleted
(delete file).  For members of the package:
      MBRF sfile -- where sfile is the name of the file that should
exist on the PWS.

      For files that are to be removed from the PWS:
      DLTF tfile -- where tfile is the name of the file to be
deleted.

      Each package file starts with a PKGF identifier which is
optionally followed by a text description of up to 40 characters.

      An example is shown in Fig. 1.

      The processing of this file consists of two steps:
-  Verify that each member file exists on the PWS in the target
directory.  If the file is not found it is copied to the PWS from the
host.
-  Verify that each delete file does not exist on the PWS. If any are
found they are removed.

      Suppose that a change is made in the example function and
APP2.EXE has been created and is to replace APP2.COM. This exa...