<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/aad/ttaad4460m000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Check Audit Files Integrity (ttaad4460m000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default"> 
                                 Use this session to check, for one or more tables, whether the various sequence files are consistent with the corresponding audit-info file.</Paragraph>
			<List><ListIntro>Audit information of a table is stored in:</ListIntro>
				<ListItem>One or more <Link href="/baanerp/tt/glossary/glossary#100242" role="glossary">sequence files</Link>. These files contain the information that is logged by the <Link href="/baanerp/tt/glossary/glossary#100072" role="glossary">audit server</Link>, e.g. the properties of new records, or the old and the new properties of existing records that were changed.</ListItem>
				<ListItem>One information file (audit-info file) that contains the technical information (metadata) for the sequence files.</ListItem>
			</List>
		</AimSection>
		<GeneralSection><List><ListIntro>Each audit sequence file contains a sequence header at start of it. This header contains:</ListIntro>
				<ListItem>Sequence file information, such as <List><ListItem>the file's sequence number</ListItem>
						<ListItem>creation date and time</ListItem>
						<ListItem>termination date and time</ListItem>
						<ListItem>termination status: indicates whether the file was terminated, and if so, for what reason. For example: "UNTERMINATED" (the sequence file is not terminated) or "MAX_SIZE" (the sequence file was terminated because the sequence file reached the maximum size).</ListItem>
					</List>
				</ListItem>
				<ListItem><Link href="/baanerp/tt/glossary/glossary#100048" role="glossary">audit dd</Link> information for each field that is audited, such as the field's name, data type, depth (for array fields only) and length. When the audit dd changes (for example, the number of audited columns in a table has changed, or the order of the columns in the table's primary key has changed), the audit server terminates the currently active sequence file (Termination Status = "DD CHANGED ") and switches to a new sequence file with a new audit dd. Refer to the <DocRef>Infor Enterprise Server 8.5 Technical Manual (U8172 US)</DocRef> for more details.</ListItem>
			</List>
			<Paragraph class="Default">The audit-info file contains copies of the sequence headers for all sequence files generated.</Paragraph>
			<Paragraph class="Default">This session prints a report, which displays for each table whether the sequence header information in the sequence files and the sequence header information in the audit-info file matches. In case of a discrepancy, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints the information from both files so that you can find the exact mismatch.</Paragraph>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Running this session is especially useful when the audit dd for one or more audited tables has changed.</Paragraph>
			</Note>
			<Paragraph class="Default">To check audit files, enter the desired range of <Link href="/baanerp/tt/glossary/glossary#table.tt" role="glossary">tables</Link> and <Link href="/baanerp/tt/glossary/glossary#000023" role="glossary">companies</Link> and click <GUIRef href="" role="manual">Check</GUIRef>.</Paragraph>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/basictasks/000017" role="manual">To print a document or a report</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000006" role="manual">To use From and To fields</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
</Session>
