Automation Engine Script Guide > Introduction > First Steps > JCL

Using JCL

Objective:
- Executing OS commands

Lesson 5

JCL (=Job Control LanguageShort form of "Job Control Language". It refers to applications that are processing steps executed on computers.) commands can only be used in the Process tab of jobs. These commands are executed on a particular OS, platform or applicationAn application is a software which helps a user to fulfill specific tasks. In the context of ARA see also: Application entity., and not on AE.

The scriptA particular Automation Engine object type. element :DATA can be used to explicitly declare JCL lines. The script editor displays JCL in brown.

 

The following lesson describes the handling of JCL.

The first step executes an OS command on a computer. Create a Job objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task for this purpose (Windows jobAn Automation Engine object type for a process that runs on a target system.). Open the job and enter an agentA program that enables the de-centralized execution of processes (such as deployments) on target systems (computers or business solutions) or a service that provides connectivity to a target system (such as for databases or middleware). An agent is also an object type in the Automation Engine. [Formerly called "Executor."] See also: host and a valid Login object in the Notification tab

Verify that the agent is active and that the relevant rights are available (clientA closed environment within an Automation Engine system where you can create and run objects. A client name consists of a 4-digit number that must be indicated when a user logs on to the Automation Engine system. Users and their rights are also defined in clients. A particular Automation Engine object type. rights in the Agent object and the User object).

Switch to the Process tab and enter some commands. For example, you can use the following lines to query the file listShows entities in a grid view of a particular directory on the Windows computer:

C:
cd C:\temp
dir

Store the job and start it. The result is available in the reportA report provides more detailed information about a task's execution or a component. dialog (Report tab).

 

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH