×
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.
For a one-timer, piping the ls output to od with the hex option is so easy.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Vern Hamberg via MIDRANGE-L
Sent: Wednesday, February 8, 2023 6:30 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Vern Hamberg <vhamberg@xxxxxxxxxxxxxxx>
Subject: Re: IFS filename as hex?
Hi Justin
Depending on your OS level, you can use the IFS_OBJECT_STATISTICS table
function and put the hex() function around the column that gives you the
name. It's a 7.3 at least, has been around since April, 2020. Run SQL
Statements should have an example, or Scott Forstie's gist, or or or -
lots of Google hits.
You could maybe use ls, as another post suggests, redirecting the output
to a physical file defined only with record length before you run ls.
Then use hex() function, again, on that.
Maybe!!
Vern
On 2/8/2023 9:14 AM, Justin Taylor wrote:
Is there a way to view an IFS filename as hex?
5250 WRKLNK shows a "?" in the filename, but gives "Object not found" when
I try to display the attributes.
Bash shows:
'$'\032''
TIA
As an Amazon Associate we earn from qualifying purchases.