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



Tom

The QHF* APIs are for a long-not-useful file system concept. You should use the stat() function instead.

Vern

Tom Deskevich wrote:
I have a program that checks images on a NT server via QNTC to see if the
size is zero.
This is a further test after checking for the existence of the image.
What I do is a DSPLNK, output to a special outque, then do a CPYSPLF, read
at the file and look at the size attribute.
The problem is that the job bombs, creating too many spool file entries.
I think that an OVRPRTF with MAXRCDS(*NOMAX) may keep this from happening.
But I always hesitate in setting anything to *NOMAX, but if I have to, I
will.

I did some research and found the API QHFSETSZ, but it seems it will only
work on the QOPT and QDLS file systems.

Does anyone know a way to get the "Size of object data in bytes . . . . .
:", or the equivalent without doing the DSPLNK?

I have not explored doing something on the NT server at all, everything runs
on the as/400.
TIA

Tom Deskevich








As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.