IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Significance of moving high values & low values to datan


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Madhu Kashyap

New User


Joined: 19 Jan 2006
Posts: 19

PostPosted: Mon Jan 23, 2006 10:13 am
Reply with quote

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
View user's profile Send private message
gvt460

New User


Joined: 04 Mar 2005
Posts: 23

PostPosted: Mon Jan 23, 2006 4:15 pm
Reply with quote

to remove garbage values we will move low-values&high-values
Back to top
View user's profile Send private message
Madhu Kashyap

New User


Joined: 19 Jan 2006
Posts: 19

PostPosted: Tue Jan 24, 2006 9:36 am
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Jan 24, 2006 10:35 am
Reply with quote

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
View user's profile Send private message
Madhu Kashyap

New User


Joined: 19 Jan 2006
Posts: 19

PostPosted: Tue Jan 24, 2006 10:42 am
Reply with quote

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
View user's profile Send private message
sbalajibe

New User


Joined: 15 Aug 2005
Posts: 62

PostPosted: Tue Jan 24, 2006 12:41 pm
Reply with quote

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
View user's profile Send private message
Madhu Kashyap

New User


Joined: 19 Jan 2006
Posts: 19

PostPosted: Tue Jan 24, 2006 2:17 pm
Reply with quote

Hi Balaji,

Thanks for the reply.
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Jan 24, 2006 2:48 pm
Reply with quote

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
View user's profile Send private message
Madhu Kashyap

New User


Joined: 19 Jan 2006
Posts: 19

PostPosted: Tue Jan 24, 2006 2:59 pm
Reply with quote

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
View user's profile Send private message
ksrujan

New User


Joined: 24 Jan 2006
Posts: 4

PostPosted: Wed Jan 25, 2006 11:26 am
Reply with quote

Hi Madhu,

For VSAM, NON-VSAM, DB2 , NON DB2 also it will work.

Thanks,
Srujan
Back to top
View user's profile Send private message
Madhu Kashyap

New User


Joined: 19 Jan 2006
Posts: 19

PostPosted: Wed Jan 25, 2006 2:32 pm
Reply with quote

Hi Srujan,

Thanks for the answer.

Thanks,
Madhu
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
Search our Forums:

Back to Top