Monday, October 6, 2008

HIGH-VALUES

While I was in the middle of revising a program, I tried to move HIGH-VALUES to a data field

MOVE HIGH-VALUES TO WS-RECEIVING FIELD

where

01 WS-RECEIVING FIELD PIC X(10) is in the WORKING-STORAGE SECTION.

Contents of WS-RECEIVING FIELD after the MOVE



I have to type "hex on" on the command line to make sure that it is not spaces.



Actually both LOW-VALUES and HIGH-VALUES look like SPACES when "hex off". The difference is that SPACES hex value is:



1 comment:

Eran Smith said...
This comment has been removed by the author.