Modify LOW-VALUE
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Application Programming

#1: Modify LOW-VALUE Author: ldushkin PostPosted: Thu Jul 20, 2006 8:22 am
    —
Hi all,

Can we modify field which is LOW-VALUE through the COBOL pgm?

Thank you for the help

#2:  Author: kolusuLocation: San Jose PostPosted: Thu Jul 20, 2006 8:35 am
    —
ldushkin,

huh? Do you want to modify the contents of figurative constant LOW-VALUE ? Low-value reprensts the lowest ordinal position in thecollating sequence used. For the EBCDIC collating sequence, the character is X'00'; for other collating sequences, the actual character used depends on the collating sequence used.

Why don't you show what you are trying to do with an example.

Kolusu

#3:  Author: ldushkin PostPosted: Thu Jul 20, 2006 10:20 am
    —
this is file in HEX. I need to modify LOW-VALUE field in cobol
Code:

------------------------------
000100 1111111      3333333   
       FFFFFFF000000FFFFFFF444
       11111110000003333333000
------------------------------

#4:  Author: kolusuLocation: San Jose PostPosted: Thu Jul 20, 2006 10:25 am
    —
ldushkin,

what do you want to change that low-value ? spaces? or someother value ? If Spaces then try this
Code:

 INSPECT ws-field-to-be-modified REPLACING ALL X'00' BY X'40'


Hope this helps...

Cheers

Kolusu

#5:  Author: ldushkin PostPosted: Thu Jul 20, 2006 10:29 am
    —
Thank you

#6:  Author: coolmanLocation: US PostPosted: Wed Jul 26, 2006 4:03 pm
    —
Even a simple MOVE SPACES would have helped you after laying out the proper file structure.
________
List of GM bellhousing patterns history



MVSFORUMS.com -> Application Programming


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group