View previous topic :: View next topic
|
Author |
Message |
adapalam
New User
Joined: 14 Mar 2007 Posts: 6 Location: hyderabad
|
|
|
|
Hey Guys,
Can anyone let me know how do we skip a particular set of records so tat we can access only one particular record.....
What i mean to say is that suppose we have a file which consists of 10 records and in xpediter i just want to access the 8th record what shud i do? ...wht command or procedure shud i follow in order to access only the 8th record ...
Plz can anyone help me out
Thanks |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
1. in the input file drop first 7 records, and xpedite 8 th record
or
2. In xpeditor set break points |
|
Back to top |
|
|
kousalya26
New User
Joined: 06 Jul 2005 Posts: 21 Location: chennai
|
|
|
|
If you have a key field in that file, you could use that working storage field name and use "WHEN" command.
For eg.if you have the file with student id as a field and 8th record in the file has student id=100, then you could use the command
Code: |
WHEN student-id = 100 |
and then "F12" to jump to the code which reads the record from the file.
Thanks,
Kousalya |
|
Back to top |
|
|
|