View previous topic :: View next topic |
Author |
Message |
mfuser Banned
Joined: 01 Mar 2005 Posts: 105 Topics: 58
|
Posted: Wed Nov 08, 2006 2:30 pm Post subject: what are low and high values and the use of them |
|
|
Members,
I have a basic question as what are LOW-VALUES and HIGH-VALUES.What do we mean by having a code which moves low-values / high-values to any variable.Please help me in understanding the concepts and why do we need them in use ? Is there any significant use in making use in Application Program ?
Code: |
MOVE LOW-VALUES TO WS-VAR1.
MOVE HIGH-VALUES TO WS-VAR2.
|
|
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Wed Nov 08, 2006 2:57 pm Post subject: |
|
|
mfuser,
HIGH-VALUES represents one or more occurrences of the character that has the highest ordinal position in the collating sequence used. For the EBCDIC collating sequence, the character is X'FF'; for other collating sequences, the actual character used depends on the collating sequence used.
LOW-VALUES represents one or more occurrences of the character that has the lowest ordinal position in the collating 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.
Check this for a typical usage of figurative constants HIGH-VALUES and LOW-VALUES
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|