<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/aad/ttaad5500m000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Job Data (ttaad5500m000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to view the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link> data, which you can maintain and display in the <Link href="/baanerp/tt/aad/ttaad5100s000" role="session">Job Data (ttaad5100s000)</Link> session.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">From this session, you can start the <GUIRef href="/baanerp/tt/aad/ttaad5501m000" role="session">Sessions by Job (ttaad5501m000)</GUIRef> session to view or maintain the settings of the sessions linked to the job.</Paragraph>
			<Paragraph class="Default">You can also use the <GUIRef href="/baanerp/tt/aad/ttaad5500m000" role="session">Job Data (ttaad5500m000)</GUIRef> session to start the job.</Paragraph>
			<List><ListIntro>How you start the job depends on the job’s status:</ListIntro>
				<ListItem>If the job’s status is Free, you can start the job in the following ways: <List><ListItem>Use the <GUIRef href="/baanerp/tt/aad/ttaad5203m000" role="session">Activate Job (ttaad5203m000)</GUIRef> session. You can start this session from the <GUIRef href="" role="menu">Specific</GUIRef> menu in the <GUIRef href="/baanerp/tt/aad/ttaad5500m000" role="session">Job Data (ttaad5500m000)</GUIRef> session.</ListItem>
						<ListItem>Use the rc.startjob shell command (UNIX platform)</ListItem>
						<ListItem>Use the startjob.bat batch file (Windows platform)</ListItem>
					</List>
				</ListItem>
				<ListItem>If you want the ERP LN Job Daemon to start the job, you must change the job’s status to In Queue. Before you set the status to In Queue, make sure that all sessions have been added to the job (at least one session must be in the job). If the Job Daemon is already running, the job will be active as soon as the job status changes to In Queue and the record is saved.</ListItem>
			</List>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">To change the job status to In Queue, click <GUIRef href="/baanerp/tt/aad/ttaad5500m000#exec.user.2" role="command">Queue Job</GUIRef> on the <GUIRef href="" role="menu">Specific</GUIRef> menu.</Paragraph>
			</Note>
			<Paragraph class="Default">For more information about job statuses, refer to <Link href="/baanerp/tt/domains/aad.jsta" role="domain">Possible values</Link>.</Paragraph>
			<List><ListIntro>With the commands on the <GUIRef href="" role="menu">Specific</GUIRef> menu, you can start sessions to do the following:</ListIntro>
				<ListItem>View or maintain the settings of the sessions linked to a job</ListItem>
				<ListItem>Activate a job</ListItem>
				<ListItem>Put the job in a queue</ListItem>
				<ListItem>Block a job</ListItem>
				<ListItem>Cancel a job</ListItem>
				<ListItem>Release a job</ListItem>
			</List>
			<Paragraph class="Default"></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>
			<RelTopic><Link href="/baanerp/basictasks/000001" role="manual">To use an overview session</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000035" role="manual">To maintain records in an overview session</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="ttaad500.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.user"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">User</Title>
			</Header>
			<FuncDesc>The ERP LN user ID of the person who created the job.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.perd"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Period.</Title>
			</Header>
			<FuncDesc> 
                                 If this check box is selected, the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link> is <Link href="/baanerp/tt/glossary/glossary#100036" role="glossary" Update="No">periodical</Link>: the job is started or restarted periodically at a date and time defined in the <Link href="/baanerp/tt/glossary/glossary#100041" role="glossary">job calendar</Link> or by a regular interval.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.rept"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Suspend</Title>
			</Header>
			<FuncDesc>Indicates whether the <Link href="/baanerp/tt/glossary/glossary#100036" role="glossary">periodical job</Link> must be executed automatically after last execution. After execution of a periodical job, the next execution date is automatically updated according to the given period and/or calendar date.</FuncDesc>
			<SimpleSection><Paragraph class="Default">
                                    If this check box is selected,, the job is suspended until the next execution date. For jobs started by the <GUIRef href="/baanerp/tt/aad/ttaad5203m000" role="session">Activate Job (ttaad5203m000)</GUIRef> session, the UNIX shell program rc.startjob, or the Windows batch file startjob.bat, the job’s status is set to Waiting. The job is automatically restarted at every next execution date that is defined in the calendar or by the interval.</Paragraph>
				<Paragraph class="Default">
                                    If this check box is cleared, the job runs once and is then stopped. For jobs started by the <GUIRef href="/baanerp/tt/aad/ttaad5203m000" role="session">Activate Job (ttaad5203m000)</GUIRef> session, the UNIX shell program rc.startjob, or the Windows batch file startjob.bat, the job’s status is set to Free. To restart the job, you must manually start the <GUIRef href="/baanerp/tt/aad/ttaad5203m000" role="session">Activate Job (ttaad5203m000)</GUIRef> session, the UNIX shell program rc.startjob, or the Windows batch file startjob.bat.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You can use the <GUIRef href="/baanerp/tt/aad/ttaad5100s000" role="session">Job Data (ttaad5100s000)</GUIRef> session to select or clear this check box.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttaad500.iedt"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Extern Schd</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, an external job scheduler, such as Maestro from UNISON, or an external program, for example, a UNIX crontab starts the job. Therefore, in that case, the calendar/time schedule in the job data is ignored.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.edte"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Next Execution Date</Title>
			</Header>
			<FuncDesc>The date/time of the next execution of the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link>. If the job is <Link href="/baanerp/tt/glossary/glossary#100036" role="glossary">periodical</Link>, this field shows the next date of the calendar or the date corresponding to the given period, after executing the job.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You can specify the dates and times for a <Link href="/baanerp/tt/glossary/glossary#100041" role="glossary">calendar</Link> in the <Link href="/baanerp/tt/aad/ttaad5107m000" role="session">Dates by Calendar (ttaad5107m000)</Link> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttaad500.ldat"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Last Execution Date</Title>
			</Header>
			<FuncDesc>The date on which the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link> was last executed.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttaad500.jsta"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Status</Title>
			</Header>
			<FuncDesc>Displays the status of the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link>.</FuncDesc>
			<SimpleSection><Paragraph class="Default">For details, refer to <Link href="/baanerp/tt/domains/aad.jsta" role="domain">Possible values</Link>.</Paragraph>
			</SimpleSection>
		</FieldHelp>
	</Fields>
</Session>
