|
Sure, If you chain the file using the relative record number, or a SETLL and READ you can get to the record in question. If you're asking "How to I locate a specific record, not be relno, but by its content without reading through it or using a logical" then No you can't do that. -BOB COZZI > > <ganeshkumar.murugesan@xxxxxxxxx> > Sent by: rpg400-l-bounces@xxxxxxxxxxxx > 28/04/2005 09:17 > Please respond to RPG programming on the AS400 / iSeries > > > To: <rpg400-l@xxxxxxxxxxxx> > cc: > Subject: Update a particular record in a > sequential file > > > > I have this situation where I need to update a particular record in a > file (Arrival sequence with no keys) without reading it fully. That > particular record can be anywhere in the file. Is it possible to do > this through RPGLE without creating any logical file for the file and > also without using SQLRPGLE. > > Thanks, > Ganesh
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.