× 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.



Another option to use instead on 'O' Specs (if you are on V5R2), is the
free-form UPDATE with the %FIELDS bif, which allows you to specify the fields
you want to update.

Example:

Update rcdfmt %fields(Salary:Status);

Kurt J. Braman
Programmer
Highsmith Inc.
W5527 State Road 106, PO BOX 800
Fort Atkinson, WI 53538-0800
TEL: (920) 563-9571 ext. 384
FAX: (920) 563-7395
kbraman@xxxxxxxxxxxxx
www.highsmith.com

> -----Original Message-----
> From: Paramasivam Murugesan , Gurgaon
> [mailto:ParamasivamM@xxxxxxxxxxxxxxx]
> Sent: Tuesday, June 10, 2003 8:36 AM
> To: rpg400-l@xxxxxxxxxxxx
> Subject: Update a file using O spec.
>
> Hi all,
> How to update a file with 'O' Spec.?  I want to update only 2
> fields of a
> file which has 40 fields.
> If possible, please provide the code sample.
>
> Any suggestions would be highly appreciated.
>
> Thanks in advance,
> Murugesan.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.