InputFile

Top  Previous  Next

S

A

W

WS

ü

ü

Valid for: SetStartup

 

Syntax -

       SetStartup InputFile <FilePathAndName>

               Where:

                       <FilePathAndName> is a literal string.

 

Description:

This option defines the full path and file name of the file that contains the data that will be used by the script.  This must consist of a valid path and file name that is accessible to the workstation on which EMUE is running.  Files can also be retrieved from an FTP server.  Multiple input files can be processed by including a wild card character (*, ?) in the name of the input file.  This path and file name is displayed in the Input File textbox on the Main tab on the main EMUE window.

 

Note: This information can also be provided by entering the information into the Input File textbox on the Main tab on the main EMUE window, or it can be defined in an OPTIONS statement in the script.  If both an OPTIONS statement and the SetStartup InputFile command are used, the SetStartup InputFile command is used and file referenced in the OPTIONS statement is ignored.

 

Note: When retrieving files from an FTP server, only the following input file sort order options are valid: LastModifiedDate_Ascending, LastModifiedDate_Descending, Length_Ascending, Length_Descending, Name_Ascending, Name_Descending.

 

Note: The FTP form of this feature is not supported in EMUE Standard.

 

Sample 1:

Retrieving One Local File

       The following statement instructs EMUE to utilize the file "C:\EMUE\InputFile.txt" as the input file for the script.

SetStartup InputFile "C:\EMUE\InputFile.txt"

 

Sample 2:

Retrieving Multiple Files from a Network

       The following statement instructs EMUE to process all of the files with a .txt extension in the K:\EMUE directory.

SetStartup InputFile "K:\EMUE\*.txt"

 

Sample 3:

Retrieving a File from an FTP Server

The following statements instruct EMUE to retrieve the file "appointments.txt" from the FTP location specified.  The MoveInputFile line moves the file to another destination for processing.  MoveInputFile is required in order to use a file that resides on an FTP server.

SetStartup InputFile "ftp://100.100.1.100/Reg/appointments.txt"

SetStartup MoveInputFile "C:\EMUE\Appointments\InputProcessing\"

SetStartup FTP_UserName "MyUserName"

SetStartup FTP_Password "Password123"

 

See Also:

MoveInputFile

MoveInputFileAfterProcessing

WaitForInputFile

LogFile

FTP_Password

FTP_PortNumber

FTP_Timeout

FTP_PortType

FTP_UsePassive

FTP_Compression