|
Why not just change it to *Nomax without checking it. If it is already at *Nomax it won't hurt it nor give you a message. You can do it within rpg but make sure you monitor for message. It won't allow the change if it is in use. Good Luck Bill (All else fails READ THE INSTRUCTIONS) ----- Original Message ---- From: Phil Kestenbaum <pkestenbaum@xxxxxxxxxxx> To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> Sent: Friday, March 30, 2007 7:10:23 AM Subject: RE: Checking for File=*NOMAX No reason I am aware of the CLP method, just to see how it can be done another way. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Takken, Cor Sent: Friday, March 30, 2007 1:09 AM To: RPG programming on the AS400 / iSeries Subject: RE: Checking for File=*NOMAX I'd like to advise you to use a more appropriate language for this type of actions: CLP. There you can easily do a DSPFD <lib>/*ALL to an outfile and go through the outfile to find the files that you need to change. Is there a particular reason why you /must/ use RPG? My 2 cents. Cor
-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Phil Kestenbaum Sent: donderdag 29 maart 2007 18:10 To: RPG programming on the AS400 / iSeries Subject: Checking for File=*NOMAX HI, is there a way in RPG using API to check all files to see which are not set to *NOMAX, then make it *NOMAX? Thank you, Phil -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
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.