Skip to main content

COBCH0250S status field is missing or illegal (1736744)

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Client was getting error COBCH0250S status field is missing or illegal on every compile. This was occurring for every field specified as a FILE  STATUS in their SELECT clause.

The file status field had been set as follows:

pic xx comp-5

Resolution:

The first character of the file status field cannot be defined as a comp field. Only the 2nd character can be defined as comp. For example:

01  file-stat.

     05  fs-1     pic x.

     05  fs-2     pic x comp-x.

This format will allow for the extended Micro Focus file status codes to be retrieved.

Old KB# 5723

0 replies

Be the first to reply!