Description:
The current implementation of the copybook module only converts a copybook file bound to a particular record. When multiple root copybook records are found in the given copybook schema, a targetRecordName is required for each operation, and an error is thrown if the targetRecordName is not provided. There is a requirement to perform all operations without a targetRecordName. In this case, the input and output data for all operations will consider the entire copybook schema, including all root records.
Description: The current implementation of the copybook module only converts a copybook file bound to a particular record. When multiple root copybook records are found in the given copybook schema, a
targetRecordName
is required for each operation, and an error is thrown if thetargetRecordName
is not provided. There is a requirement to perform all operations without atargetRecordName
. In this case, the input and output data for all operations will consider the entire copybook schema, including all root records.For example for the following schema
and for the following inputData
v1.0100 7890V100 v2.1200 7890V100
thefromCopybook(inputData)
call should generate the following json outputDescribe your problem(s)
Describe your solution(s)
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):