Why am I getting error message S0C7 data exception when comparing a field that is defined zoned numeric with a field that contains spaces? This error did not occur in the previous version 6.4.
search cancel

Why am I getting error message S0C7 data exception when comparing a field that is defined zoned numeric with a field that contains spaces? This error did not occur in the previous version 6.4.

book

Article ID: 55117

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Why am I getting error message S0C7 data exception when comparing a field that is defined  zoned numeric with a field that contains spaces? This error did not occur in the previous version 6.4.

 

Environment

Release:
Component: EZTRVE

Resolution

CA Easytrieve release 11.x handles fields that contain spaces differently from CA Easytrieve Plus release 6.4.

CA Easytrieve 6.4 compiler used MVS assembler instruction PACK to PACK all zoned decimal data upon input. If zoned data was not correct, i.e. data contains a space character, the space is packed into the data and a space is converted to a 0. Upon unpack for output, the space character is seen as a 0.

CA Easytrieve release 11.x performance improves the process of reading and displaying zoned numeric data by simply using MVS MVC instruction to move the data 'as is'. The result is a zoned numeric data field containing a space is unaltered and moved directly 'as is' from input buffer and then displayed as a space on output.

This is not considered to be a 'bug' in the CA Easytrieve r11.x compiler. The users have defined the data as zoned numeric when in reality, it is not.