|
-----Original Message-----
message: 3
date: Wed, 17 Dec 2025 09:37:22 +0000
from: liam henderson <liamhenderson12@xxxxxxxxx>
subject: Re: Protect subfile records when maintaining control record
Sorry, not sure I understand. I've not seen the keyword DSPCTL before?
And surely if I set SFLDSPCTL to *OFF I won't be able to update any figures on
the control record?
On Tue, 16 Dec 2025 at 23:22, Infodorado InfoDorado via RPG400-L < rpg400-
l@xxxxxxxxxxxxxxxxxx> wrote:
Yes, PROTECT would be one way but would require setting the indicator
on the PROTECT to default to NOT(PROTECT) and updating all the subfile
records.
But you can use the DSPCTL and SFLDSPCTL keywords. To change just the
control record, set the indicators and redisplay the same SFLCTL
record but SETOF the indicator(s) for SFLDSPCTL.
--Alan Cassidy
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.