READE using i5 PHP Toolkit

General discussion on Zend Core for IBM System i
Post Reply
rcv400
Posts: 4
Joined: Tue Mar 31, 2009 3:05 pm

READE using i5 PHP Toolkit

Post by rcv400 » Tue Mar 31, 2009 3:09 pm

Hi! Anyone here who knows how to do READE using the i5 PHP Toolkit? I'm able to do the SETLL via i5_seek, but I'm at a loss on how to limit my data retrieval based on my key list.

Appreciate if you can share your ideas.

Thanks!

User avatar
rodflohr
Zend Global Support
Posts: 56
Joined: Mon Dec 29, 2008 5:28 pm

Re: READE using i5 PHP Toolkit

Post by rodflohr » Tue Mar 31, 2009 7:51 pm

Instead of i5_seek(), please try using i5_range_from() and i5_range_to() with both ends of the range having the same key. Please see page 81 of the Zend Core for i5/OS User Guide for information on how to use these functions: http://static.zend.com/topics/Zend-Core ... S-V261.pdf

rcv400
Posts: 4
Joined: Tue Mar 31, 2009 3:05 pm

Re: READE using i5 PHP Toolkit

Post by rcv400 » Tue Mar 31, 2009 11:44 pm

hi there! i have actually been playing around with i5_range_from or i5_range_to, but it's only now that i thought maybe i should use both before doing my fetch. let me try it out. thanks for your suggestion!

Post Reply