Skip to main content

This article resolves the situation where the IDE is not passing the SORTTYPE directive to the checker.

Problem:

One of my programs (with internal sort) is now reporting a SORT-RETURN = 16. This happens only when my input has no records. In MFE 3.0, even if there are no input records, SORT-RETURN is 0. This scenario (no input records) is acceptable in the Production environment and is processed properly.

Resolution:

When doing 'Sort utility compatibility' and selecting SYNCSORT from the JCL tab in the project settings, the IDE is not passing the SORTTYPE directive to the checker. In the 'build settings for project' dialogue (under project menu), in the 'additional directives' text box, add SORTTYPE(SYNCSORT). Then rebuild the project again.

This KB article was created for Mainframe Express 3.0.

Incident Number: 2280386

Old KB# 14905

#EnterpriseDeveloper
#MFDS