On 16/12/2022 1:43 am, Gary Weinhold wrote:
As an alternative, it wouldn't seem very difficult to create a utility to read
the FTPed data (received as a sequential file with an arbitrary record length)
and reformat the data to write a VB(S) file.
It is not difficult. The biggest problem is that by default FTP strips
the RDW, which makes variable length binary data unusable. The solution
to that problem is to use the SITE RDW option for the download.
I wrote a Java program to read/write z/OS data in GZIP format to get
around the various problems.
You can:
- gzip VB(S) into a FB dataset on z/OS, download the data and unzip on a PC
- download VB(S) data using BINARY and SITE RDW options, gzip the data
on the PC, upload to a FB dataset then uncompress to a VB(S) dataset.
The program is available here:
https://github.com/BlackHillSoftware/z-java/tree/master/java/compress
--
Andrew Rowley
Black Hill Software
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN