Highlighted
Absent Member.
Absent Member.
1368 views

OUTREC IFTHEN and OVERLAY invalid syntax

I want to achieve below logic, which work in DFSORT, in MFJSORT. 

OUTREC IFTHEN=(WHEN=(1,9,CH,EQ,C'A00000000'),OVERLAY=(1:C'000000000'))

Getting error IFTHEN and OVERLAY are invalid syntax. This works irrespective of input files record length. How to achieve the same in MFJSORT.

0 Likes
4 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

You may be able to get the OVERLAY option to work by switching over to SYNCSORT emulation. The steps to do this are in the product documentation. The base product is not a complete emulation of DFSORT, ICETOOLS or SYNCSORT. It appears that at the current product does not have support for IFTHEN currently. You can reach out to the support line and ask about an enhancement request to have that feature added.

If you need this capability immediately we do have a Filed developed solution (FDS) that adds this capability on top of the existing product capabilities. You can reach out to your sales team for information as to the cost
0 Likes
Highlighted
Absent Member.
Absent Member.

What syntax does the FDS cover? Looking at a situation with lots of syntax not handled by the base MFJSORT, including the two mentioned here.
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

You'll need to reach out to your sales team to have them get you a copy of the documentation around the FDS.
0 Likes
Highlighted
Absent Member.
Absent Member.

found an alternative in DFSORT emulation itself which seems to work-
OUTREC OVERLAY=(1,9,CHANGE=(9,C'A00000000',C'000000000'),
NOMATCH=(1,9))
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.