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



Lower case doesn't work for attr either.

I don't have the CHGATR command either. It must have come out after V4R5.

I ahve a similar command named ATTRIB which I created which uses the Qp01SetAttr program. However it doesn't allow you to enter the new attribute it just uses X'00'. If you know the correct hex value I can modify it.

I can then write a progrm which will loop through the directory and set the attribute. It's a pain but I guess its the only way to get it done.

Albert


----- Original Message -----
From: "Scott Klement" <midrange-l@xxxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Subject: Re: Deleting a folder from the IFS
Date: Thu, 30 Aug 2007 18:17:21 -0500


Qshell is case sensitive. The name is 'attr' and not 'ATTR'. Type it
in lowercase. (same with 'find' and 'chmod')

If you still have trouble (maybe it didn't exist on your release?) then
you can do the same thing with the CHGATR CL command. It's going to be
more awkward though, since you'll have to type the filenames manually.

CHGATR OBJ('/path/to/file') ATR(*READONLY) VALUE(*NO)

I suppose you could use the 'find' command, but it would be horribly
awkward to use because of the quotes and asterisks in the CL command.
The 'attr' Qshell command will be much simpler.


Albert York wrote:
I tried the ATTR command by itself and it comes back with the
message:
001-0019 Error found searching for ATTR command. No such path or
directory.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.