Page History
...
Converter
With Release 2.7.0 a the Converter becomes available to migrate job configurations from AutoSys® JIL files to JS7:
...
The Converter reads AutoSys® *.jil files and creates .json files that are added to a .tar.gz or .zip archive file for import into JS7, see JS7 - Inventory Export and Import.
...
- The Converter Java classes can be used with Java LTS editions of JRE or JDK 17 and newer.
- The Converter Start Script is available for
- Linux, MacOS® and AIX® using bash, dash, ksh and zsh shells.
- Windows 10, 11, Windows Server
Download
Download of the Job Converter from the js7_converter_autosys.tar.gz
tarball and js7_converter_autosys.zip
archive file is available within the scope of migration services.
...
Setting | Default | Explanation | |||
---|---|---|---|---|---|
generateConfig.workflows | true | Specifies that workflows should be convertedcreated. | |||
generateConfig.agents | true | Specifies that Agent configurations should be created | .generateConfig.jobTemplates | true | Specifies that jobs used in multiple job chains will be converted to the JS7 - Job Template. |
generateConfig.schedules | true | Specifies that schedules should be convertedcreated. | |||
generateConfig.calendars | true | Specifies that calendars should be | convertedcreated. | ||
generateConfig.locks | true | Specifies that Resource Locks should be | converted.generateConfig.cyclicOrders | false | created. |
Section: Parser
Setting | Default | Explanation | ||
---|---|---|---|---|
parserConfig.excludedDirectoryNames extensions | jil | The default file name extensions for looking up AutoSys® JIL files in the input directory. The JS1 If more than one directory extension is specified then , they have to be separated with a semicolon ";". | parserConfig.excludedDirectoryPaths | Specifies a number of paths in the JS1 If excluded paths are specified then this includes not to consider any sub-directories recursively. It is not required to specify individual sub-directories with the |
...
are separated by semicolon. Example:
| ||
parserConfig.excluded.fileNames | Specifies files from their name that should be excluded when looking up AutoSys® JIL files in the input directory. If more than one file name is specified, they are separated by semicolon. Example:
|
Section: Autosys
Setting | Default | Explanation |
---|
autosys.input. |
splitConfiguration | false | Creates separate XML files containing the original AutoSys® job definition for each standalone job (a job without any conditions) or for each box job. Example:
|
autosys.input.diagram.generate | false | Specifies that diagram files in SVG format should be created. Example:
|
autosys.input.diagram.optimize.dependencies | false | Attempts to resolve AutoSys® job conditions in order to reduce the dependencies (arrows) between various jobs in diagrams. |
autosys.input.diagram.outputFormat | svg | Specifies the output format of diagram files. |
autosys.input.diagram.size | 0 | |
autosys.input.diagram.graphviz.executable | Specifies the location of the graphviz Example:
| |
autosys.input.diagram.graphviz.cleanupDotFiles | false | Specifies whether the converter should delete the .dot (internal Graphviz format) files once the conversion is complete. Example:
|
Section: Workflow
Setting | Default | Explanation |
---|---|---|
workflowConfig.default.timezone | Etc/UTC | Specifies the default time zone that is added to converted workflows. This time zone for example is applied to JS7 - Admission Times for Jobs. |
Section: Workflow Job
Setting | Default | Explanation |
---|---|---|
jobConfig.forced.GraceTimeout | Specifies the grace timeout after which a running job is terminated if the cancel/force operation is used, see JS7 - Job Instruction. | |
jobConfig.forced.parallelism | Specifies the number of parallel tasks that a job can be running for, see JS7 - Job Instruction. | |
jobConfig.forced.failOnErrWritten | false | Specifies the handling of job output to the stderr channel. If set to true then output to stderr is considered an error, otherwise such output is logged and no error is raised, , see JS7 - Job Instruction. |
jobConfig.forced.warnOnErrWritten | false | Specifies the handling of job output to the stderr channel. If set to |
jobConfig.forcedV1Compatible | false | JS7 workflows can be operated in a JS1 compatibility mode. If set to
Consider that environment variables are not added by the Converter but are created on-the-fly by the Controller and Agents. |
jobConfig.forced.retry.maxTries | Forces use of the indicated maximum for use of the JS7 - Retry Instruction. Without this setting the AutoSys® | |
jobConfig.forced.retry.delays | Forces the indicated delay between retries. | |
jobConfig.forced.shell.unix.commandPrefix | Forces a prefix to be used for Unix shell jobs. Example:
| |
jobConfig.forced.shell.windows.commandPrefix | Forces a prefix to be used for Windows shell jobs. | |
jobConfig.default.shell.unix.shebang | #!/bin/bash | Specifies the shebang to be inserted to the begin of job scripts: Example:
| Etc/UTC | Specifies the default time zone that is added to converted workflows. This time zone for example is applied to JS7 - Admission Times for Jobs. | jobConfig.jitl.logLevel | Specifies the value of the Allowed values include: |
jobConfig.forcedGraceTimeout | 15 | Specifies the grace timeout after which a running job is terminated if the cancel/force operation is used, see JS7 - Job Instruction. |
jobConfig.forcedParallelism | 1 | Specifies the number of parallel tasks that a job can be running for, see JS7 - Job Instruction. |
jobConfig.forcedFailOnErrWritten | false | Specifies the handling of job output to the stderr channel. If set to true then output to stderr is considered an error, otherwise such output is logged and no error is raised, , see JS7 - Job Instruction. | jobConfig.forcedV1Compatible | false |
Section: Agent
Settings | Default | Explanation | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
agentConfig.forced.forcedControllerIdcontrollerId | Forces use of the given ControllerId for all generated agents. | ||||||||||||||||
agentConfig.defaultControllerId default.controllerId | Specifies This setting specifies the ControllerId to be used for generated agents if the Master ID in JS1 (process_class.spooler_id ) is empty.no ControllerId is provided in the agentConfig (forced.agent, default.agent, mappings) for a specific agent. | ||||||||||||||||
agentConfig.forced.agent agentConfig.forcedAgent | Forces use of the given Agent for all converted jobs. Agent definition:
| ||||||||||||||||
agentConfig.defaultAgentdefault.agent |
| Without an Agent being specified the JS1 executes jobs with the Master. In JS7 an Agent has to be used. This setting specifies an Agent that is used for jobs that are executed with a Master in JS1This agent is used when an AutoSys® job does not provide machine information. The syntax for assignments: see | |||||||||||||||
agentConfig.mappings | By default the Converter handles the mapping of Agent Names found in AutoSys® job machine attribute: | agentConfig.mappings | By default the Converter handles the mapping of Agent Names found in JS1 process classes ( The syntax for mapping includes:
Example:
or
Any number of mappings are specified separated by a semicolon. This setting can be split across a number of lines by use the "\" line continuation character at the end of each line that should be continued. This setting can be split across a number of lines by use the "\" line continuation character at the end of each line that should be continued. Configuration of mappings in a file:
|
Section: Mock
Setting | Default | Explanation | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mockConfig.forced.jitl.mockLevel | Mock levels are used for dry runs of the conversion for JS7 - Job Templates (JITL JVM Jobs). If a mock level is specified then JVM Jobs will not be executed but will log and will optionally check arguments only. The following values can be specified for this setting:
Without this setting being specified the JITL JVM Jobs will be executed from the converted jobs. | ||||||||||||
mockConfig.forced.shell.unixScript | Mock scripts are used for dry runs of the conversion. The job scripts of converted Shell Jobs are replaced by the call to a mock script for Unix platforms. Consider that mock scripts have to be provided by the user and have to be available for Agents at run-time. This setting specifies the path to a mock script for Unix, for example, A mock script for Unix can look like this:
If no mock script is specified then the original JS1 job AutoSys® job script is used for the converted JS7 job. | ||||||||||||
mockConfig.forced.shell.windowsScript | Mock scripts are used for dry runs of the conversion. The job scripts of converted Shell Jobs are replaced by the call to a mock script for Windows platforms. Consider that mock scripts have to be provided by the user and have to be available for Agents at run-time. Specifies the path to a mock script for Windows, for example, A mock script for Windows can look like this:
If no mock script is specified then the original AutoSys® job script is used for the converted JS7 job. |
...
Setting | Default | Explanation |
---|---|---|
scheduleConfig.forced.WorkingDayCalendarName | AnyDays | Use of JS7 - Calendars is required. This setting forces use of the same calendar for working days with any schedules that are created. By default a calendar with the name AnyDays is assumed. Users have to create a calendar with this name prior to running the Converter. |
scheduleConfig.forced.NonWorkingDayCalendarName | This setting forces use of the same calendar for non-working days with any schedules that are created. Use of a calendar for non-working days is optional. Users have to create a calendar with this name prior to running the Converter with this setting. If the setting is not used, then no non-working day calendar will be applied by the Converter. | |
scheduleConfig.default.WorkingDayCalendarName | AnyDays | This setting specifies a default calendar for working days for schedules that do not specify a calendar on their own. By default a calendar with the name AnyDays is assumed. Users have to create a calendar with this name prior to running the Converter. |
scheduleConfig.default.NonWorkingDayCalendarName | AnyDays | This setting specifies use of a default calendar for non-working days with schedules that do not specify a calendar on their own. Use of a calendar for non-working days is optional. If this setting is used, then users have to create a calendar with this name prior to running the Converter. |
scheduleConfig.default.timezone | Etc/UTC | With the JS7 a time zone is required for scheduled. This setting specifies the default time zone that is applied for Workflowsto Schedules. |
scheduleConfig.forced.planOrders | false | Orders are automatically planned for the JS7 - Daily Plan. The setting is applied if a JIL file's date_condition setting specifies y or 1 . |
scheduleConfig.forced.submitOrders | false | Orders are automatically submitted to Controllers for the JS7 - Daily Plan. The setting is applied if a JIL file's date_condition setting specifies y or 1 . |
...
Setting | Default | Explanation |
---|---|---|
calendarConfig.forced.folder | Root folder | Specifies the folder where the calendars are generated. Example:
|
Section: Lock
Setting | Default | Explanation |
---|---|---|
lockConfig.forced.capacity | Specifies the capacity of JS7 - Resource Locks. | |
lockConfig.default.capacity | 1 | Default capacity for Resource Locks is based on |
AutoSys® resources |
Section: Boards
Setting | Default | Explanation |
---|---|---|
boardConfig.forced.lifetime | Specifies the lifetime of Notices created by JS7 - Notice Boards | |
boardConfig.default.lifetime | 24*60 | Specifies the default lifetime for Notices. The default value is Example:
|
Recommendations
It is recommended to create the following objects in the JS7 inventory prior to conversion:
- Agents
- At least one Agent has to be available.
- The Converter offers to map Agent Names from AutoSys® to JS7 Agents. Such Agents have to be available in the JS7 prior to conversion. Users can register Agents as Standalone Agents and as Cluster Agents, see JS7 - Agent Management.
- Calendars
- At lease one working day calendar has to be available. The calendar can be stored in an arbitrary folder. The name of the calendar can be specified with the
scheduleConfig.forced.workingDayCalendarName
andscheduleConfig.default.workingDayCalendarName
settings or it will default toAnyDays
. - Optionally a non-working day celandar can be available. The calendar can be stored in an arbitrary folder. The name of the calendar can be specified with the
scheduleConfig.forced.nonWorkingDayCalendarName
andscheduleConfig.default.nonWorkingDayCalendarName
settings. By default no non-working day Calendar will be applied.- If the calendar specified by converted schedules is not available in the JS7 then imported schedules become invalid. They can be individually assigned a calendar in the JS7 inventory.
- At lease one working day calendar has to be available. The calendar can be stored in an arbitrary folder. The name of the calendar can be specified with the
Delimitations
At the time of writing the following configuration elements are not supported:
generateConfig.cyclicOrders
...
- .
Further Resources
...