Skip to main content

Preserving case in legacy COBOL code.

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

When creating a new mapping for a Web Service from legacy COBOL code, you may find in doing so that the case of the legacy COBOL code is lost - for example all converted to lowercase.

This may cause you a problem if you have a requirement for the case to be as in the original code, for example (lower-) CamelCase.

Resolution:

Specify the PRESERVECASE directive in your program program:

$SET PRESERVECASE

This will then ensure that the original case is preserved as required.

Old KB# 4429