× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It also seems to be fixed in the rpg v5r3 reference published may of 2004
Sc09-2508-05

I have pasted the delete section

DELETE (Delete Record)
_
The DELETE operation deletes a record from a database file. The file must be
an update file (identified by a U in position 17 of the file description
specifications) The deleted record can never be retrieved. 

If a search argument (search-arg) is not specified, the DELETE operation
deletes the current record (the last record retrieved). The record must have
been locked by a previous input operation (for example, CHAIN or READ). 

The search argument, search-arg, must be the key or relative record number
used to retrieve the record to be deleted. If access is by key, search-arg
can be a single key in the form of a field name, a named constant, a
figurative constant, or a literal.


------------------------------

message: 9
date: Tue, 01 Aug 2006 22:22:20 -0400
from: Barbara Morris <bmorris@xxxxxxxxxx>
subject: Re: The delete opcode

Joe Pluta wrote:

Typo.  Should be "If a search argument (search-arg) is NOT specified...".

Yep.  It was reported by a couple of alert readers, and it's fixed in
v5r4.

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books_web/c09250
86671.htm#HDRZZDELET





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.