RTadmin EDI library

Function library to simplify handleing EDI tasks. See /faq/config/RTedi.html for notes on configuration and usage.

THe functions are still to some extent being refined along with the EDI specific environment variables that they use.

The Functions

edi_export_custom

Dummy function for the Custom Export Method.

edi_export_program

Export Method Program.

Minimal functionality.

Change Directory to ${EDI_Export_Dir}, Write log entery, and call edi_runcobol_export.

edi_import_custom

Dummy function for the Custom Import Method.

edi_import_edid

Import Method Edid

edi_import_ftp

edi_import_program

Import Method Program.

Minimal functionality.

Change Directory to ${EDI_Import_Dir}, Write log entery, and call edi_runcobol_import.

edi_importsafelist

edi_importsafelist_multi

edi_runcobol_import

Error traped wraper for Cobol program.

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

edi_runcobol_export

errsend

Carry over from the older "Rockware" EDI scripts.

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.

ExportCleanup

Clean up and trap routine for edi_runcobol_export,

ImportCleanup

Clean up and trap routine for edi_runcobol_import,

menu_header_e

Extend version of menu_header_r used for EDI menu.

MailImportLog

Mails the logfile provided as the first call paramiter to the configured users.

The recipients may use either the subject line or the
X-Mailer: Roadrunner EDI diagnostics
header to filter messages.

MailExportLog

Mails the logfile provided as the first call paramiter to the configured users.

The recipients may use either the subject line or the
X-Mailer: Roadrunner EDI diagnostics
header to filter messages.