Batch Wrapper Overview

In order for the scheduler to execute the different Merchandising programs, batch wrappers have been created based on the following categories:

  • Wrapper for Pro*C programs

  • Wrapper for KSH scripts

  • Wrapper for Perl scripts

  • Wrapper for file-based programs

These wrappers validate that the user has sufficient privileges to access required directories. These are sub directories of the ${RETAIL_HOME} directory.

  • Incoming Directory - Staging directory used for .zip files from external systems to be used as input files in Merchandising programs.

  • Outgoing Directory - Staging directory used for .zip files generated from Merchandising programs for use by external systems. Files in the outgoing directory will be uploaded to Object Storage through File Transfer Service with a prefix of “outgoing/”

  • Outgoing Directory To SIOCS – Staging directory used for .zip files generated from Merchandising programs for use by SIOCS. If SIOCS is on premise, files in the outgoing to SIOCS directory will be uploaded to Object Storage through File Transfer Service with a prefix of “outgoing/to_siocs”.

  • Data Directory - Has 6 sub directories used for File processing and archiving.

    • In Directory - Unzipped files from the Incoming Directory. This directory is used by Merchandising programs as the source for input files.

    • Out Directory - Generated output files from Merchandising programs. These files will be zipped and moved to the Outgoing Directory.

    • Processed Directory - All processed files from In Directory will be moved to this directory. This folder will archive input files.

    • Reject Directory - Generated reject files from Merchandising programs.

    • Temp Directory - Temporary directory for unzipping files.

    • Archive Directory - Output files will be archived in this directory.

  • Wrapper for single-threaded programs.

  • Wrapper for multi-threaded programs.

  • Batch-specific wrappers.