Using the MTIMP program

Top  Previous 

The MTIMP program is used to import reports into ChartNet. 

 

The following is a screen shot of the MTIMP program.

 

SG11_MTIMP - Main

 

 

Configuring the Import Profile

 

To create a new import profile or edit an existing profile, click on "File > Configuration".  Select "MTIMP" from the list of INI files, then add or edit the profile.  The following is a description of each field in the profile.

 

 

Profile OptionDescription
 
PathEnter the path where the import files will be obtained

 

File maskEnter the file mask for the import files

 

DistributeN=Do not distribute the report; Y=Distribute the report after importing

 

Validate against MPI fileValidate the Account Number against MPI file.  Reports with invalid account numbers will not be imported.

 

MPI lookup fieldSpecifies which index to use when doing the MPI lookup on the account number.  A=Acctno,  M=Mrun

 

Reject pathPath where rejected import files should be placed.  Default is the same folder as the import files.

 

Default site codeSite code to use if no /SITE in header

 

ACCTNO is MRUNUse the MRUN for the Account Number.

 

Default user codeUser code to use if no /SCRIBE code in header

 

Auto-indent tabsReports being imported use auto-indent tabs.  Set to "Y" if import files were created by Microsoft Word.

 

Auto-print logAutomatically print the log after importing

 

Reformat Reformat the report using the form's defaults

 

Backup files after importBackup files to \backup folder (under the import path).

 

Do not insert report footerDo not insert the form's report footer at end of body

 

Check name against MPI        Check name against MPI name if using MPI file

 

Check for missing dataCheck for required fields missing

 

Review sites listList of site codes (separated by commas) whose imported reports should always go into the Review file.

 

Use WordPortUse WordPort instead of MS Word to convert to RTF

 

Default tab sizeDefault tab size (in inches) if no default tab size is found in the import file.

 

Error log fileOverride path and filename for the error log.  Default is Errors.log in the input path.

 

Check for duplicatesCheck for duplicates by checking to see if a file with the same name exists in the \backup folder.

 

 

Command-line Parameters:

 

/Profile=[name]Specifies the profile to use in the MTIMP.INI file.  Must be used to run the MTIMP program in automatic mode (i.e. unattended).  If this parameter is not found, the program will default to interactive mode.

 

 

Errors File

 

When the program runs, if any errors occur that keep a report from importing, the program will create an error file called "ERROR.LOG", located in the same folder that the imported report files come from.  Each time the program runs, it will erase this file before starting the import process.  It is the user's responsibility to review this file (using NotePad or other word processor) to see which files had errors.