When i use the HEX format in the spool, I see the correct value(20061211) for the INP-VSAM-RECORD but the other two seems to be different in the 9th nibble. However, I want the actual numeric value (20061211) in the output.
Can someone help me in getting the actual numeric value for the COMP-3 field. I have to move this actual date as standard 8 digit number into an output report file.
Joined: 20 Oct 2006 Posts: 6967 Location: porcelain throne
you are a little to clever for your own good. The move with reference modification filled the rightmost five bytes with your data and then zero filled to the left - you did not get a conversion move - unpack - (as the display shows quite clearly).
instead of the receiving field being 9(9) display, make it 9(9) comp-3. then move the comp-3 field to the 9(9) display (to generate the unpack) and there you have it.