CommRequest.dll

Contents Show

The CommRequest.dll is used to facilitate the transfer of files for the WIC systems. The CommRequest.dll will send and receive files between locations using one of the following communication processes, the File Transfer Protocol or Dialup processing.

The COMMREQUEST table will contain the information needed by the CommRequest.dll to automatically send and receive files.

The information in the COMMREQUEST table will be static in content and will not need a user interface to maintain the information (system table).

COMMREQUEST Table

The COMMREQUEST table contains the following information:

PROCESSNAME

Varchar2 (50)

Example - EOD, MONTHEND

SYSTEMNAME

VarChar2 (50)

Example - BANKING, PNSS, PEDNSS

SERVERNAME

VarChar2 (25)

·

COMMUSERID

VarChar2 (25)

·

COMMPASSWORD

VarChar2 (25)

·

RECEIVEFROMDIRECTORY

VarChar2 (50)

·

SENDTODIRECTORY

VarChar2 (50)

·

OUTBOUNDFOLDER

VarChar2 (50)

·

OUTBOUNDERRORFOLDER

VarChar2 (50)

·

OUTBOUNDPOSTFOLDER

VarChar2 (50)

·

INBOUNDFOLDER

VarChar2 (50)

·

INBOUNDPOSTFOLDER

VarChar2 (50)

·

LOGFILENAME

VarChar2 (50)

·

SENDEMAIL

VarChar2 (1)

Y/N

SENDFILEMASK

·

·

RECEIVEFILEMASK

·

·

DESTINATIONURL

·

·

FROMEMAILADDRESS

·

·

The information in the COMMREQUEST table will be used to connect and process the file transfers. It will also control the file transfer process based on the PROCESSNAME and SYSTEMNAME columns. If the CommRequest.dll is called with only the PROCESSNAME property set then all file transfers for the PROCESSNAME will be processed. If the PROCESSNAME and SYSTEMNAME property are both set then only the SYSTEMNAME file transfer will be processed. This will provide some flexibility on what files get transferred when the CommRequest.dll is called and will allow multiple file transfers per process. It will also allow the CommRequest.dll to be called only once for a process if desired. For example, the End of Day Process will need to transfer both the Bank files and well as the CDC files but only one call to the CommRequest process will be needed.

The following is a definition for each column:

PROCESSNAME - SYSTEMNAME Combinations

The following PROCESSNAME - SYSTEMNAME combinations are used in SPIRIT:

PROCESSNAME

SYSTEMNAME

Used by

BatchIssue LetterArchive Legacy Spirit
EMAIL VENDOR Legacy Spirit
FAX VENDOR Legacy Spirit
JPM JPMTRANSFTP Legacy Spirit
JPM JPMTRANSSPIRITFTP Legacy Spirit
VOA VENDORONLINEAPPLICATION Legacy Spirit
VPS VENDORPRICESURVEY Legacy Spirit
WICEOD BANKING Legacy Spirit
WICEOD BANKINGLASTFILEPROCD Legacy Spirit
WICEOD CDCPEDIATRIC Legacy Spirit
WICEOD CDCPREGNANCY Legacy Spirit
WICEOD EBT MAR New End of Day
WICEOD EBT RECONCILIATION New End of Day
WICEOD WICEOD Legacy Spirit and also for various new End of Day processes

To use the CommRequest.dll make sure that the COMMREQUEST table entry exists for each PROCESSNAME and SYSTEMNAME that need to do file transfers. From the calling program set the PROCESSNAME property to process all file transfers for the PROCESSNAME and then call the CommRequest.dll. To process only one Systems file transfer set the PROCESSNAME and SYSTEMNAME properties and then call the CommRequest.dll.

If any standard error messages occur during the CommRequest process a standard error message will be displayed to the user and the return code from the CommRequest.dll will be set to false. If the CommRequest was processed successfully, then the return code will be set to true.

|

Scheduled Job Administration