Sample Script Commands for the Target (Dayton-Hudson) Connect Mailbox

There are usually 4 key command (.CMD) files that can be created to access the Connect Mailbox System that will satisfy your requirements.  The sample files below are named according to their function, but you can name the files with your own naming convention if you wish.

We suggest you start by creating 4 separate directories off your root drive such as: C:\TARGET\OUT and C:\TARGET\IN.   This assumes that you will be sending your out-bound files from the\Target\out directory and receiving your incoming files into the \Target\IN directory.

Note:  If you are using the non-GUI (DOS) version of the 3780 software, keep your file name prefix to 8 characters or less.  Otherwise you will likely receive an I/O error.

The following command (CMD) files can be developed by using Notepad or WordPad and saved in text mode.  These files are usually located within your \FASTSYNC [3780] directory.  Note:  The .MESSAGE line is very important, both in terms of spacing of characters as well as (upper/Lower) case. If this login message is not perfect, you will not be able to send and/or receive files.

Example 1.  TAR_FIN.CMD File (for Financial Data): 
.CALL,9,1-612- 304-XXXX
.MESSAGE,$$ADD ID=YOURID BID='FINANCIAL' BLOCK=06 (NOETX) [see Note1]
.SEND,C:\TARGET\OUT\TAR_FIN
.EXIT
Example 2.  TAR_NFIN.CMD File (for Non-Financial Data): 
.CALL,9,1-612- 304-XXXX
.MESSAGE,$$ADD ID=YOURID BID='NON FINANCIAL' BLOCK=06 (NOETX) [see Note2]
.SEND,C:\TARGET\OUT\\TAR_NFIN
.EXIT
Example 3.  TAR_INV.CMD File (for Inventory Data): 
.CALL,9,1-612- 304-XXXX
.MESSAGE,$$ADD ID=YOURID BID='INV' BLOCK=06 (NOETX) [see Note1]
.SEND,C:\TARGET\OUT\TAR_INV
.EXIT
Example 4.  TAR_PU.CMD File (for Pick-UP Data): 
.CALL,9,1-612-304-XXXX
.MESSAGE,$$REQ ID=YOURID BID='IF' BLOCK=06 [see Note3]
.RCVE,C:\TARGET\IN\TAR_IF
.MESSAGE,$$REQ ID=YOURID BID='MNT' BLOCK=06 [see Note3]
.RCVE,C:\TARGET\IN\TAR_MNT
.EXIT
Note1: There are 42 spaces between BLOCK=06 and the beginning of (NOETX) in the .MESSAGE command.  Note2: There are 38 spaces between BLOCK=06 and the beginning of (NOETX) in the .MESSAGE command.  Note3: No spaces required after the BLOCK=06 statement.
Once your necessary Command Files are created, you can create corresponding batch (.BAT) files.  Then, if you're using Windows 95, 98, NT, Win2K or XP you may create a "shortcut" for each batch file and place them on your Desk Top for automating your requirements.