Example 2: Viewing the output of the job

After Tom runs the job, he opens the text file and looks at the output.

Procedure

  1. From the Assembly Editor, click OK to return to the Hierarchical Data stage editor, and then click OK to close the Hierarchical Data stage editor.
  2. To compile the job, click File > Compile from the IBM® InfoSphere® DataStage® and QualityStage® Designer client.
  3. Click File > Run to run the job.
  4. In the parameter window, specify values for the Directory, restServer, and restServerPort parameters.

    After you run the job, the resource that is specified in the URL is deleted. You can view the result of the REST call by opening the output_delete.txt output file. The output_delete.txt file contains data that indicates that the REST web service call was invoked successfully.

    This figure shows the content of the output file that indicates the REST call was invoked successfully.

    The status code 200 indicates that the resource that was specified in the URL was deleted.

Results

By using the Hierarchical Data stage, Tom deleted the bookmark having index value 1.