COBOL

 View Only

 Avoiding DFSORT on z/OS

Petrea Mitchell's profile image
Petrea Mitchell posted Thu August 21, 2025 07:13 PM

Hi, I'm back with another 64-bit z/OS question.

I get the CEE3259E error when running a program that contains a SORT statement. The error tells me "Invoking DFSORT is not supported when the POSIX(ON) runtime option is in effect."

How do I tell the compiler I don't want to use DFSORT?

 I've found documentation suggesting that I could use NOFASTSRT, but also that NOFASTSRT is already the default. I tried adding it to the compile anyway and it didn't make any difference.

This same program generates no errors in 32-bit form, running with POSIX(ON). Is DFSORT only a problem with POSIX(ON) in AMODE(64), or does the 32-bit compile not convert SORT to use DFSORT?