In a recent note, Robert Wright said:

> Date:         Thu, 12 Oct 2006 16:33:07 -0400
> 
> Lizette Koehler wrote on 10/12/2006 10:57:25 AM:
> 
> > I was going to use TRSMAIN to pack some SMF Data from TAPE data set
> > to dasd for FTP process.  However the documentation for TRSMAIN
> > states it cannot use tape.
> >
I know I saw that somewhere.  But today I can't find it at:

                                                   
   Linkname: TRSMAIN                                                            
 
        URL: http://techsupport.services.ibm.com/390/trsmain.html#using    

... where do you see it now?

> > I do not understand why this is the case.  What is special about
> > TRSMAIN and tape processing.  I would have thought it would just be
> > simple BSAM writes of compacted data.....  Can anyone shed some
> > light on why tape is not handled by TRSMAIN?????
> 
> TRSMAIN tries to include a size of the target data set so that its UNPACK
> processing can do its job.  That's feasible if it depends on format 1 and 3
> DSCBs for the input data set.  Tape input is harder to handle with the same
> goal in mind.
> 
OK.  TRSMAIN can't handle tape as raw data sets; that's flatly
stated.  But what I thought I saw earlier was that TRSMAIN can
not PACK directly to tape, but must PACK to a DASD data set which
can then be copied to tape.

In any case it doesn't make a whole lot of sense since:

o TRSMAIN is regularly used as an interchange vehicle between sites
  with either tape or FTP as the transfer medium.  Neither tape nor
  FTP preserves format 1 and 3 DSCBs.

o When compression or uncompression is involved, the size of the 
  source data set hardly gives useful information about the size
  required for the target data set.

o The only reliable way to transmit the size of the raw data set
  is to include the information in a header in the PACKed file.
  if this is done, it can be written to/read from tape as readily
  as DASD.

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

Reply via email to