Performing an Action with execaction - Input Data File method

Use this procedure to perform actions by using execaction with a data file. The data file will contain the required information to perform one or more actions. If you are including multiple actions in the data file, all actions must involve the same data area.

To perform actions with execaction using a data file

  1. Create the input data file. There are multiple options for the structure of the data file. For more information, see Input Data Files for execaction.
  2. Run the execation command. At the Landmark command line, type one of the following commands:

    If you included the business class and action within the input file, and the input file is not the type that references a job or job stream, type

    execation dataArea -f inputFile

    where dataArea is the data area the actions in the input file apply to and inputFile is the file containing the command data.

    If you did not include the business class and action within the input file, and the input file is not the type that references a job or job stream, type

    execation dataArea busclass action -f inputFile

    where dataArea is the data area the actions in the input file apply to, busclass is the business class for the action, action is the action to perform, and inputFile is the file containing the command data.

    If the input data file includes references to jobs (which in turn specified business classes and an action), type

    execation dataArea BatchTask Run -f inputFile

    where dataArea is the data area the actions in the input file apply to and inputFile is the file containing the command data.