3.1.3 Applications that use macro variables
Macro variables are variables used to pass information from one job to another job during execution. Using macro variables can automate an application that processes a parameter whose value varies throughout execution of the jobs in the application.
The use of macro variables enables the following:
-
Passing event information received by an event job or a custom event job to the succeeding job
Event information received by an event job or a custom event job can be passed to the succeeding job. For example, if the event job is a file monitoring job, the name of an updated file and the update time can be passed to the succeeding job.
-
Extracting necessary information from the standard output file of the preceding job, and passing it to the succeeding job
A passing information setting job can extract information based on a regular expression from the standard output file that contains the information output by the preceding job, and can pass the extracted information to the succeeding job.
-
Passing values specified in a jobnet during registration for execution to subordinate units
Values specified in a jobnet as passing information when the jobnet is registered for execution can be passed to macro variables defined in units subordinate to the jobnet.
The following table lists topics and the sections in which they are covered in the manual. If you want more information about a topic, see the indicated section.
No. |
Topic |
Section |
---|---|---|
1 |
Details of macro variables |
2.2.6 Considerations regarding the use of macro variables in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide |
2 |
Event jobs, custom event jobs and macro variables |
2.4.4(6) Passing information received by an event job and a custom event job in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide |
3 |
Passing information setting jobs and macro variables |
2.4.9 Passing information that changes dynamically to a succeeding unit (example of defining a jobnet that uses a passing information setting job) in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide |
4 |
Specification of macro variables during registration for execution |
4.1.2 Specifying macro variables during registration for execution |