tersedecompress icon indicating copy to clipboard operation
tersedecompress copied to clipboard

Are nonspanned records LRECLs greater than 32760 supported?

Open TekBear opened this issue 7 months ago • 3 comments

TRSMAIN unpack is limited to 32760 (for nonspanned records) Does this utility support nonspanned records LRECLs greater than 32760 ?

TekBear avatar Jun 10 '25 00:06 TekBear

Hey, not sure to be honest. Does AMATERSE support it? Can you share example of such a file?

alexgubanow avatar Jun 10 '25 07:06 alexgubanow

ok, got some example of such, is this is something you talking about: Record format . . . : VBS
Record length . . . : 32767 Block size . . . . : 27998 1st extent cylinders: 1
Secondary cylinders : 200
Data set name type :

alexgubanow avatar Jun 10 '25 07:06 alexgubanow

ok, I think i got to bottom of this. I have tersed dataset with AMATERSE, copy result to uss and untersed with tersedecompress++ - results look similar to original, but different, because: by default, in binary mode, we emit RDW into output file for variable datasets. AMATERSE do not emit RDW, so it sets LRECL by less 4 than input dataset. For me it seems like RDW is handled by system and simply should remove that part of code, or at least hide it under option "-RDW" or something like this. @TekBear of you can share your input dataset and expected out - would be great.

alexgubanow avatar Jun 10 '25 10:06 alexgubanow