In a recent note, Dave Myers said:
> Date: Fri, 9 Jun 2006 11:42:04 -0600
>
> Anyone know how to process a USS file, as direct input into the TERSE pgm?
>
I've done some experiments, perhaps beyond the scope of TRSMAIN
docmentation.
For PGM=TRSMAIN,PARM=SPACK:
Unpacked= Packed=
DSORG=PS DSORG=PO
Packed = DASD OK OK
Packed = TAPE OK fail
Packed = UNIX fail fail
PDSE is in no wise supported. I suppose one should unload with
IEBCOPY, then Terse.
For PGM=TRSMAIN,PARM=UNPACK:
Unpacked= Packed=
DSORG=PS DSORG=PO
Packed = DASD OK OK
Packed = TAPE OK OK
Packed = UNIX fail fail
The message attempting to pack a PDS to tape is explicit,
leading me to conclude the requirement is deliberate. Perhaps
the archive requires a preamble containing information gathered
in the packing process, which might be written by POINTing to
the beginning and overwriting a block previously reserved.
But since I believe the BSAM/QSAM support for UNIX files is
comparable to that for tape, I suspect the prohibition of UNIX
files in those instances in which tape is acceptable is inadvertent.
Has anyone else some private technical insight he might share?
Alas, if UNIX files, especially character special files, were
accepted as packed files, it would be possible to stream TRSMAIN
(except while packing PDS) directly to/from the network, with no
need for intermediate packed data sets or UNIX files.
-- gil
--
StorageTek
INFORMATION made POWERFUL
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html