SAPCPE – Copy Outdated Files from Source into Target Directory

SAPCPE
=================================================================
SAPCPE copies outdated files from the given source directory into
the given target directory. UNIX version uncompresses .Z files.

Commandline format:
sapcpe [profile-parameters] [control-parameters]

profile-parameters:
  all profile-related parameters: nr=..., name=..., pf=...

control-parameters:
  shcp            - use shell commands instead of internal
                  coding to copy files
         default: use internal coding
  test:n          - switch test mode on. Target filename is
                  always sapcpeTS
         default: test mode is off
    n: 7 writing/linking target file sapcpeTS
    n: 5 creating/linking target file sapcpeTS, no read
    n: 3 creating/linking target file sapcpeTS, no write
    n: 1 creating/linking target file sapcpeTS, no read/write
    n: 0 test mode off
  all             - process all files
  copy            - primary operation: copy files (default)
  link            - primary operation: link files
                  process files as specified in file table (CT)
  nocm            - suppress transfer/uncompress of compressed
                  files
         default: transfer and uncompress the compressed file,
                  if exists and is younger than the uncompressed
                  file in the source directory. Otherwise, copy
                  the uncompressed file.
  nock            - no check on mandatory files
         default: check enabled
  chown           - set original owner to the copied files
                  (requires superuser privilege)
         default: copied files will be created under current
                  user
  size:<bytes>    - size of the internal copy buffer (bytes)
         default: 1MB
  list:<filename> - list of files to be processed. If set, the
                  default list files are not used. This
                  parameter changes logfile name to
                  sapcpe_<filename>.log
         default lists:
                  (lists in central directory)
                  instance.lst  - RDBMS independent files
                  instancedb.lst- RDBMS dependent files
                  tools.lst     - other files
                  inhouse.lst   - all files which should NOT be
                                  delivered to customers
                  dbclient.lst  - database client files
                  igsexe.lst    - IGS files
                  sapcrypto.lst - special files for sapcryto

          If these files don't exist, only the files from a file
          table (default: sapcpeft) are processed
  source:<dir-name> - source directory
  target:<dir-name> - target directory,
  ftable:<filename> - name of a file which contains a table of
                  files and their FileProcesssModes (FPMs)
         default: sapcpeft
                  Search paths for sapcpeft are current
                  directory and then source directory
         Format: filename [copy_attribute [check_attribute]]
         Example: disp+work local_copy check_exist
                  saptemu   softlink   check_exist
                  R3trans   softlink
                  icmbnd    local_copy skip_if_foreign_owner
                  ...etc
      (FPM: unspec/0, loc/1,ct/2, chk/10, cp_loc_if _exists/20
  files           - print table of the loaded configured files
  stdoutput       - print the output of the program also to stdout
  trace/trace3    - print trace information
  version         - print patch information and exit
  help            - print this text

Version UC: @(#) $Id: //bas/753_REL/src/ccm/sapstart/sapxxcpe.c#2 $ SAP

You May Also Like

Leave a Reply?