Given that you need the same code, plus a bit more, to get them into a linear dataset as you need to get them into a dataspace, why not just copy them into a dataspace?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Joseph Reichman <reichman...@gmail.com> Sent: Monday, April 1, 2019 4:15 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Sysadata to linear I would actually want to get the sysadata into a dataspace and the only way I know is a vsam linear file > On Apr 1, 2019, at 4:07 PM, Kirk Wolf <k...@wolf-associates.com> wrote: > > I assume that by "linear" that you mean a zFS or other file on Unix/Windows > and not a VSAM linear data set. One might be tempted to say "USS file", > but that would result in a complete and utter hijacking of this thread :-) > > Also, I'm not sure what tool that you are using to read/process the ADATA > files. > > I do know that when you are using the IBM RecordGenerator for Java > (formerly known as the "JZOS RecordGenerator"): > https://secure-web.cisco.com/1oJantewY7-qudyNeOyMrsYldlKmO9seXPxiQFqVkLtzpG4sz9k2H_NFYLqjTCv4up1MPLEnORmXxcjbYpaDIsT-BMFpzLRGL7HJc7gpmGOfhiBfQhiKMiByfVLD93FnSKuiizGG3InuEAlGfYEMxFnCWg0iFV03rfc7BzgkTG2mvWxJ2eYd9uMnvHg-Ohn0eDpTwx0_BW8mgtP6qztgkGyZBujHXcroyrOAjnjDuYN7XkbJe0_mX2QAmdIRC9vhOingSA_h1fCZGz1dBtG9mMezyx1RIeP0T4PIssU9eU7QRUbxNhTsO5RtKzNmrIT9xUmdDZDXtuw0W-hsZ4_CZMp6WaO1GNRD2OHkTSFYi9LpBhlCphvph5RND-_acOlyjmNRUvnSXB6KxLtWCNwci6dUtJtiiGbAgKsOZqnLHEoV3pmFx4YYDPLeDVwwrQ7UZ/https%3A%2F%2Fdeveloper.ibm.com%2Fmainframe%2Fproducts%2Frecord-generator-for-java%2F > > ... that you can copy a sequential RECFM=VB ADATA file from either HLASM or > Enterprise Cobol and process it on Windows/Linux/zOS. > Note however that in order for this to work, you must copy it in binary and > include the 4-byte RDWs in the zFS/Windows/Unix file > > A simple way to do this is with Co:Z Dataset Pipes: > > // EXEC PGM=COZBATCH > //ADATA DD DISP=SHR,DSN=.... > //STDIN DD * > fromdsn -b -l rdw //DD:ADATA > /path/to/output.data > // > > (You could also transfer it using Co:Z SFTP including RDWs. IBM FTP can > also do this ) > > On Mon, Apr 1, 2019 at 1:43 PM Joseph Reichman <reichman...@gmail.com> > wrote: > >> Hi >> >> I’m trying to repro a VB sysadata file to linear file and am getting >> incompatible input >> Has anyone done this I would like to use the sysadata in a dataspace >> >> Thanks >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN >> > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN