<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/aad/ttaad5101s000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Sessions by Job (ttaad5101s000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default"> 
                                 Use this session to maintain the list of sessions linked to a job. The sequence number determines the order in which the sessions are executed.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">You can change the execution order of the sessions and add sessions to a job by copying them from another job.</Paragraph>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/basictasks/000038" role="manual">To define a job</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/tt/onlinemanual/100010" role="manual">To define a calendar</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000041" role="manual">To run a job</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000042" role="manual">To cancel a job</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="ttaad501.cjob"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Job</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link> identification code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.desc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Job</Title>
			</Header>
			<FuncDesc> 
                                 The description or name of the code.
                              </FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.jsta"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Status</Title>
			</Header>
			<FuncDesc>Indicates the status of the job.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.comp"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Company</Title>
			</Header>
			<FuncDesc>Defines under what <Link href="/baanerp/tt/glossary/glossary#000023" role="glossary">company</Link> the <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">session</Link> must be run.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.perd"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Periodical</Title>
			</Header>
			<FuncDesc> 
                                 If this check box is selected, the job is <Link href="/baanerp/tt/glossary/glossary#100036" role="glossary">periodical</Link>.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You can define whether or not a job is periodical in the <GUIRef href="/baanerp/tt/aad/ttaad5100s000" role="session">Job Data (ttaad5100s000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttaad500.peri"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Period</Title>
			</Header>
			<FuncDesc>Specifies the number of period units.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.peru"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Period</Title>
			</Header>
			<FuncDesc>Specifies the unit of the period.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.calc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Calendar</Title>
			</Header>
			<FuncDesc>A calendar that consists of a number of dates/times, which are used to indicate the dates/time a periodical job must be executed.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad506.dsca"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Calendar</Title>
			</Header>
			<FuncDesc> 
                                 The description or name of the code.
                              </FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.seri"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Session Number/Code</Title>
			</Header>
			<FuncDesc>The number that indicates the order of executing of sessions in the job when the sequence number of sessions are the same. The session number is a unique number.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.cpac"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Session Number/Code</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000008" role="glossary">package</Link> code of the session which has been added to the job.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.cmod"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Session Number/Code</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#100004" role="glossary">module</Link> code of the session which has been added to the job.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.cses"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Session Number/Code</Title>
			</Header>
			<FuncDesc>The code of the <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">session</Link> which has been added to the job.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.info"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Information</Title>
			</Header>
			<FuncDesc>A short description of the <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">session</Link> in the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.sequ"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Sequence Number</Title>
			</Header>
			<FuncDesc>This number determines the order of execution. The <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">sessions</Link> with the lowest numbers are executed first. If two sessions have the same sequence number, they are executed in order of session number.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.acti"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Active</Title>
			</Header>
			<FuncDesc> 
                                 If this check box is selected, the <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">session</Link> is ready to be executed in the job.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.devc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Device</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#100021" role="glossary">device</Link> to which the output of the sessions is sent. When the device type is <GUIRef href="/baanerp/tt/domains/aad.devt#appd.file" role="option">Append to file</GUIRef> or <GUIRef href="/baanerp/tt/domains/aad.devt#rewr.file" role="option">Rewrite file</GUIRef>, you can enter a file name in the <GUIRef href="/baanerp/tt/aad/ttaad5102s000#file" role="manual">Output file</GUIRef> field.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You cannot send output to a <GUIRef href="/baanerp/tt/domains/aad.devt#stepw.display" role="option">Screen</GUIRef> device type.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttaad501.file"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Output file</Title>
			</Header>
			<FuncDesc>The file to which the output of the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link> is sent.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You can only fill this field if the device type is <GUIRef href="/baanerp/tt/domains/aad.devt#appd.file" role="option">Append to file</GUIRef> or <GUIRef href="/baanerp/tt/domains/aad.devt#rewr.file" role="option">Rewrite file</GUIRef>.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttaad501.aoer"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Action on error</Title>
			</Header>
			<FuncDesc>Indicates what must be done, when this <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">session</Link> in the job is not terminated successfully.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad501.skie"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Nr. of sessions to skip after error</Title>
			</Header>
			<FuncDesc>Specify the number of <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">sessions</Link> which must be skipped after an error in the session of the job. The <GUIRef href="/baanerp/tt/aad/ttaad5101s000#ttaad501.aoer" role="manual">Action on error</GUIRef> field must be set to <GUIRef href="/baanerp/tt/domains/aad.aoer#continue" role="option">Continue</GUIRef>.</FuncDesc>
			<SimpleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">0 =</TD>
							<TD rowspan="1" colspan="1">No sessions are skipped.</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">2 =</TD>
							<TD rowspan="1" colspan="1">The next two sessions are skipped; the job continues with the third one.</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">If the number of sessions to skip is higher than the number of remaining sessions in the job, the job is stopped.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ttaad501.skin"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Nr. of sessions to skip after no error</Title>
			</Header>
			<FuncDesc>Specify the number of <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">sessions</Link> to skip if this session runs without error.</FuncDesc>
			<SimpleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">0 =</TD>
							<TD rowspan="1" colspan="1">No sessions will be skipped.</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">2 =</TD>
							<TD rowspan="1" colspan="1">The next two sessions will be skipped; the job continues with the third one.</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">If the number of sessions to skip is higher than the number of remaining sessions in the job, the job will be stopped.</Paragraph>
			</SimpleSection>
		</FieldHelp>
	</Fields>
</Session>
