Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

where exactly we use LOW-VALUES.(FIGARATIVE const)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ravikumarreddy
Warnings : 1

New User


Joined: 29 Jul 2005
Posts: 23

PostPosted: Thu Sep 01, 2005 2:28 pm    Post subject: where exactly we use LOW-VALUES.(FIGARATIVE const)
Reply with quote

HI,

here i need inf where we exactly use LOW-VALUES(FIGARATIVE CONST) concept.
and also where exactly REDIFINES we use.
where exactly we use INDEX?
Back to top
View user's profile Send private message

nrsmca

New User


Joined: 25 May 2005
Posts: 14

PostPosted: Thu Sep 01, 2005 3:34 pm    Post subject: Re: where exactly we use LOW-VALUES.(FIGARATIVE const)
Reply with quote

1.If u want to move zeros in numeric identifiers , spaces in alphanumeric identifiers and group identifier otherwise u can use initialize.

2.If u want to share the same memory location and corresponding values u can use redefine.

3.First u should declare the usage is Index(like that) and it points to address of the table's subscript. We can change the value of index using SET...
Back to top
View user's profile Send private message
mainframesguru

New User


Joined: 24 Jun 2005
Posts: 36
Location: Hyderabad

PostPosted: Thu Sep 01, 2005 5:45 pm    Post subject:
Reply with quote

Hi


Little Correction for 3rd Answer

While using Index, you are not supposed to Declare it.It is internally
declared.


Thanks
Vamshi
ICC-ISH
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Sep 03, 2005 11:28 pm    Post subject:
Reply with quote

A further correction to 3:

It is declared in the table declaration itself and it contains the offset into the table of the entry being referenced in the PD stmt.
Back to top
View user's profile Send private message
tatonka

New User


Joined: 08 Sep 2005
Posts: 1
Location: ohio

PostPosted: Thu Sep 08, 2005 8:42 pm    Post subject: Low-values
Reply with quote

LOW-VALUES moves hex '00' to everybyte, conversely HIGH-VALUES moves hex'FF' . It does not make numerics equal to zeros, hex'F0' or alphanumerics equal to spaces , hex '40' , although it might look that way on some displays because LOW-VALUES is non printable, same with HIGH-VALUES. So on some displays it looks like spaces but its not. Back in the day of 1/2 meg mainframes, it was important to move LOW-VALUES to everything because the CPU would compress them in storage and thus save memory bytes. Now a days you use it mainly for key manipulation, ie move LOW-VALUES to a key and do a start not less than and a read next and you will get the first record. Conversely move HIGH-VALUES to a key do a start not greater than and a read backward and you get the last record. You can also move LOW-VALUES to the 01 level of a table initially, then index thru until you hit LOW-VALUES and you know your done, stuff like that.
Back to top
View user's profile Send private message
krishnaiahc

New User


Joined: 31 Aug 2005
Posts: 21

PostPosted: Mon Oct 03, 2005 3:29 am    Post subject:
Reply with quote

HI,

Can you please provide me the documents related to LOW-VALUES & HIGH-VALUES.

Thanks,
Krishna.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us