m_jcl_change
Editing member/dataset names is impossible in this module if used by REST-API!
The REST-API for this module can only be used to edit content.
In the interactive mode this module allows you to edit files provided in input interfaces. When the activity is started by REST-API then you can provide new content of selected members via the input JSON object.
Example 1 (change of JOBA member)
As the interrupt parameter is specified and equals true then the process is interrupted after the new content of JOBA is set. It allows you to open it later in the interactive mode and check it.The change array contains all required changes in selected files. It must be an array of object, there each object must contain member and lines attributes.
The member is a member name that is searched for in input interfaces (i_file_list_sys, i_file_list_arc, i_file_list). When it is not found then en error is triggered.
lines is an array of strings, where each array element is a line of a member.
Example 2 (change of JOBA and JOBB members)
As interrupt parameter is missing the module starts another module in the sequence once it has finished.Two members are edited: JOBA and JOBB.
Last updated