The sosreport command incorrectly assumes that the tar program will always default to writing data on standard output. This is not the case when the environment variable TAPE is set.
Data may be unexpectedly written to a tape device, or another location, expanded to by the TAPE environment variable.
The sosreport command now always calls tar with the '-f-' option to force data to be written to standard output.
The location to which sos writes data is no longer influenced by the TAPE environment variable. Users who set this variable in their environment can run sosreport without risking overwriting data on existing tape devices.