View previous topic :: View next topic
|
Author |
Message |
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
What's the significance of moving high values and low values to datanames?
Ttile changed from "Cobol" to "Significance of moving high values & low values to datanames" : Priyesh. |
|
Back to top |
|
|
gvt460
New User
Joined: 04 Mar 2005 Posts: 23
|
|
|
|
to remove garbage values we will move low-values&high-values |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Thanks for responding.But still there is some doubt.For removing garbage values we can move only low values(i.e spaces) if I am correct.Then why do we go for High Values and what are these high values.Can you please illustrate it more? |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi Madhu,
Just a note: Low values is not equivalent to spaces on all the installation.
Low values is lowest value in the collating sequence and high values is highest values in collating sequence.
Moving low values and high values are helpful in initialization of records.... |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Hi Parikshit,
Thanks for the reply.But still its not a clear answer.Why do we go for high values?Can u please clear it.
Thanks,
Madhu |
|
Back to top |
|
|
sbalajibe
New User
Joined: 15 Aug 2005 Posts: 62
|
|
|
|
Hi Madhu ,
when u want to search lowest key value record u can move low values to the Key field
same way when u want to search highest key value u can move high values to the key field
thanks
Balaji |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Hi Balaji,
Thanks for the reply. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Huum,
Balaji is right.
It is useful to move low/high values while processing VSAM files.
When we want to start processing the VSAM files sequentially, low values should me moved first and then START/BROWSE or read operations should be issued...
Thanks,
Parikshit. |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Hi Parikshit,
Your answer implies that only in the case of VSAM files these high and low values are moved.What about Non VSAM files?
Thanks,
Madhu |
|
Back to top |
|
|
ksrujan
New User
Joined: 24 Jan 2006 Posts: 4
|
|
|
|
Hi Madhu,
For VSAM, NON-VSAM, DB2 , NON DB2 also it will work.
Thanks,
Srujan |
|
Back to top |
|
|
Madhu Kashyap
New User
Joined: 19 Jan 2006 Posts: 19
|
|
|
|
Hi Srujan,
Thanks for the answer.
Thanks,
Madhu |
|
Back to top |
|
|
|