|
JMHO Vern
At 12:13 PM 9/1/2004, you wrote:
Looking in the Information Center it looks like the B1 record returns the File ID, the path, and the name (along with a whole bunch of other things). And I personally don't think an API name of Qp0lGetPathFromFileID is all that 'terrible'...
Bruce
"Carel Teijgeler" <coteijgeler@chel lo.nl> To Sent by: midrange-l@xxxxxxxxxxxx midrange-l-bounce cc s@xxxxxxxxxxxx Subject Re: catch streamfile creation in 09/01/2004 11:50 ifs AM
Please respond to Midrange Systems Technical Discussion
Stefan,
You will not find a reference to the stream file directly, IIRC.
In the portion of the datastructure for OBJECT and LIBRARY you will get the path ID (16 bytes). To retrieve that you need a terribly named API (do not know the name right now), which will return '/subdir', the path you are journalling.
I wrote a not well tested monitor PGM for that. If interested I will post the code.
Then use a utility, like DIR, that can be found on this list (search for opendir API) and one of the list members offer a download from his office's website. With this utility you can list the streamfiles in that DIR.
Regards, Carel Teijgeler.
*********** REPLY SEPARATOR ***********
On 31-8-04 at 21:04 Stefan Tageson wrote:
>I need to catch streamfile creation in a specific ifs subdirectory (the filenames are not known). >I'm leaning towards strjrn '/subdir/' but I'm currently not understanding the journal entries created (type B subtype B1) - can't find any >streamfile name reference. I'm looking forward to a hard kick in some direction.
-- 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.
-- 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 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.