HSM-Status is a character

so print it as character: "r" regular file, "p" premaigrated, "m" migrated
Use types as required by libhpss.so

should be as close as possible to hpss software...
No support for NT, probably always large file support
Use flag again

The flag as parameter for many subroutines is interpreted with
bit masks rather than as integer. The name flag is neutral, the
information is visible in the bit names.
newId is needed in case of non NAMEI volservers