THe functions are still to some extent being refined along with the EDI specific environment variables that they use.
Minimal functionality.
Change Directory to ${EDI_Export_Dir}, Write log entery, and call edi_runcobol_export.
Minimal functionality.
Change Directory to ${EDI_Import_Dir}, Write log entery, and call edi_runcobol_import.
Cobal run will be skiped if either the global or dtatset specific down flag is found to exist.
Otherwise the configured Cobol Program will be called.
Errors are traped via the function ImportCleanup
Routine creates a parsable Error message file for cirtain events.
This is then logged in the working directory $EDI_wdir, and forwarded by FTP or Email to selected contacts.
Or sent to a printer.
The recipients may use either the subject line or the
X-Mailer: Roadrunner EDI diagnostics
header to filter messages.
The recipients may use either the subject line or the
X-Mailer: Roadrunner EDI diagnostics
header to filter messages.