tersedecompress icon indicating copy to clipboard operation
tersedecompress copied to clipboard

Can Tersedcompress output the data set type of the original dataset?

Open travatine opened this issue 5 years ago • 1 comments

Hi, Tersed compress is great, I was wondering if it'd be possible to display the orginal data set type ? i.e. was it a PS / PDS or PDSE ?

Thanks

travatine avatar Jun 03 '20 10:06 travatine

This project is in Emeritus status and no longer maintained. Let us know if you would have interest in taking over maintainership. Thank you.

jmertic avatar Mar 01 '23 14:03 jmertic

as far as i see, we only have RECFM, LRECL and the host type. I can suggest it might be in the flags section of header, but the format is closed and we only aware of :

    /*
     * These appear to be the flags for the terse file header. Some are used by 
     * CheckHeader() others are only used when writing a compressed file which
     * this implementation doesn't do.
     */
    static final int  FLAGUNDEF = 0x80;       /*  \                                                    */
    static final int  FLAGCC1   = 0x40;       /*   \                                               */
    static final int  FLAGCC2   = 0x20;       /*    \                                              */
    static final int  FLAGVBS   = 0x10;       /*     >-- values of Flags bits in HeaderRecord type */
    static final int  FLAGVS    = 0x08;         /*    /                                              */
    static final int  FLAGMVS   = 0x04;      /*   /                                               */
    static final int  FLAGRBITS = 0x03;       /*  /                                                */

Closing, will reopen if any more info found

alexgubanow avatar Jan 06 '25 17:01 alexgubanow