In my case, you do not know the filename.
The only thing you know is the Inode and Device.
The task is to *find* the filename based on knowing only the Inode and Device
From: Buss, Troy (Logitek Systems) (Logitek Systems)
To: U2 Users List <email@example.com>
Sent: Fri, Mar 16, 2012 3:47 pm
Subject: Re: [U2] Turn a device and inode into file name
We use the following subroutine. Pass in the filename in variable FNAME. In
he mainline is 'THIS.ACCOUNT' and of course the F.FILESTATS.XREF file variable.
We then use this information in our expanded record locks display so that we
how real file names.
RT "Building item lock xref... ":
PEN FNAME TO F.CHECK ELSE
CRT "CANNOT OPEN: ":FNAME
TATUS STATUS.INFO FROM F.CHECK THEN
DEVICE = STATUS.INFO<11>
XREF.ITEM = AM:THIS.ACCOUNT:"*":FNAME
WRITE XREF.ITEM ON F.FILESTATS.XREF, DEVICE
n Behalf Of Wjhonson
ent: Friday, March 16, 2012 12:24 PM
ubject: [U2] Turn a device and inode into file name
nyone have an easy way to do this?
n the past I've run a batch routine to just query each and every Universe file
or it's inode and device and build a table of these
canned by IBM Email Security Management Services powered by MessageLabs. For
ore information please visit http://www.ers.ibm.com
This email is intended only for the use of the party to which it is addressed
nd may contain information that is privileged, confidential, or protected by
aw. If you are not the intended recipient you are hereby notified that any
issemination, copying or distribution of the email or its contents is strictly
rohibited. If you have received this message in error, please notify us
mmediately, by replying to the message and deleting it from your computer.
WARNING: Internet communications are not assured to be secure or clear of
naccuracies as information could be intercepted, corrupted, lost, destroyed,
rrive late or incomplete, or contain viruses. Therefore, we do not accept
esponsibility for any errors or omissions that are present in this email, or
ny attachment, that have arisen as a result of e-mail transmission.
2-Users mailing list
U2-Users mailing list