View previous topic :: View next topic
|
Author |
Message |
rackshit
New User
Joined: 19 Dec 2009 Posts: 16 Location: Mumbai
|
|
|
|
Hi,
Im writing a code to retrieve records from VSAM file with partial key known.
I have a START command in my code as
Code: |
START INPUT-VSAM-FILE
KEY IS NOT LESS THAN <REC-KEY>. |
Now when my next statement
Code: |
READ INPUT-AO-VSAM NEXT. |
is executed which record will be read ?
REC-KEY is 10 in length with 1st 7 chars known and other 3 chars unknown. (partial key)
i want to read all the records whose 1st 7 chars are known with help of read next. To use the START command i have initialised 1st 7 chars with known value and the next 3 chars with low values.
Now suppose if the data really contains the next 3 chars as low values then will that record be read ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What happened when YOU tried it out |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
x'11223344556677000000' is NOT LESS than x'11223344556677000000'.
Was that so hard? Probably for a "người dại khờ" as you it was... |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY LAZY I could go on.
Do you want to learn it, or learn what someone says about it? |
|
Back to top |
|
|
|