How can I capture or save a large output/sysout in a Control-M for Web Services REST job?

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    Control-M for Web Services, Java and Messaging


    Control-M for Web Services, Java and Messaging


    Control-M for Web Services, Java and Messaging 8.0.00


    How to capture a large output/sysout in the Control-M for Web Services?  The result of the REST job is truncated in the output file, how can the entire output be saved?


    In the job definition, under the Output Parameter, click on "Add a parameter", then, under the "Parameter name, XPath, or JsonPath" column, enter "$".  The '$' alone means everything under the root of the json.

    In the "Variable or file URI to extract to" column, enter the URI of the fully qualified path where the entire REST output needs to be routed to. For example:

    This option will still leave the output/sysout truncated, however, the entire response output will be fully stored in the file as specified in the Output Parameter table.

    Article Number:


    Article Type:


      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles