Saturday, October 4, 2008

Moving LOW-VALUES to a data-field

I am a Cobol Programmer. I have been in this career since 2004. I am a licensed ECE but my heart is really with programming. So I'm writing to give you some pointers that will somehow help you. When I was in my early years in this job, I had so many things that I wanted to know like what will be the contents of the receiving data field when I move LOW-VALUE(S) to it.

For example in my WORKING-STORAGE SECTION, I will have

01 WS-RECEIVING-FIELD PIC X(10)

and in PROCEDURE DIVISION, I will code

MOVE LOW-VALUES TO WS-RECEIVING-FIELD.

The contents of the data field WS-RECEIVING-FIELD after executing the previous MOVE statement will be




when "hex on" is typed in the command line.

No comments: