Chem eStandards Module Version 7.1.July 2008 | Installing and Using CHEM Module | Running and Monitoring a Conversation | Running a Conversation and the ConversationID | Archiving Chem eStandards Records to the File System
 
Archiving Chem eStandards Records to the File System
As a default, the webMethods Chem eStandards Module archives all business documents that it sends and receives to the Trading Networks database. In addition, you can configure the webMethods Chem eStandards Module to archive all business documents it receives to the file system. For example, you can configure each transport protocol, RNIF 1.1, to archive either inbound Chem eStandards records, outbound Chem eStandards records, or both. You can configure each transport protocol to store the archived Chem eStandards records where you specify. You can retrieve these archived Chem eStandards records by going to the archive directory and opening the archived Chem eStandards records in an editor of your choice.
Archiving Chem eStandards records to the file system is an added level of archiving provided for debugging purposes. If performance is a concern, however, you should turn this level of archiving off.
*To archive inbound or outbound Chem eStandards records to the file system
1. Open the following file in the text editor of your choice:
Integration Server_directory \packages\WmChem\config\config.cnf
where Integration Server_directory is the directory in which your Integration Server is installed.
2. Change the value of the Chem.archive.archiveLocation parameter to the directory you want to archive your documents. The default directory is packages\WmChem\archive.
*The archived inbound Chem eStandards records will be located at <archivelocation>\transport\sending.
*The archived outbound Chem eStandards records will be located at <archivelocation>\transport\receiving.
3. Change the value of the Chem.archive.requiredparameter. The default value is yes. The value of this parameter will determine whether to archive or not to archive the documents.
4. Change the value of the Chem eStandards records.records.archive.maxArchiveSize parameter. The default value is -1. The value of this parameter will determine the maximum size you can use to archive your documents. If you exceed the maximum limit set, the old archives will be deleted to make space for the new archives.
Note:
Chem eStandards records archive file names are composed of a series of parts, separated by an underscore. The archive file name consists of: TransportName_TNDocType_ConversationID__TimeStamp_UniqueID
The first part of the name is the TransportName, that is, the Chem eStandards transport protocol type.
The second part of the name is the Trading Networks DocType.
The third part of the name is the ConversationID. The conversation id is followed by two underscores.
The fourth part of the name is the time stamp.
The fifth part of the name is the unique id generated by the webMethods Chem eStandards Module.
The extension of the archive file is rno.
For example, an Chem eStandards records might have a name like the following:
Chem_1.1_External E42 Order Response 2.0_ac1f5cb7f70dc97600000de5_1193138416390_EDERQWPXBF__1193160024921‐ KGHZRFRVNF.rno
5. Save and close the configuration file.
6. Ensure theIntegration Server and Integration Server Administrator are running.
7. In theIntegration Server Administrator: Packages > Management.
8. For the WmChem package, click Reload .