Focal Point
READING BINARY FILES WITH PACKED FIELDS IN LINUX

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7177005126

June 21, 2012, 11:51 AM
Lou DiPaolo
READING BINARY FILES WITH PACKED FIELDS IN LINUX
We have a bunch of files that are RECFM=VB, and LRECL=4004 that we have had no success reading from Linux. Does anyone no if this is even possible, and if so what we can try. We have tried various RECFMs, such as V with no LRECL. My concern is that the initial 4 characters in a VB file are throwing it off.
June 21, 2012, 05:37 PM
Waz
What is the physical layout of the file ?
What created the file ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

June 21, 2012, 05:54 PM
David Briars
Lou,

I haven't been on z/OS in a while, but what I would sometimes do is, convert the file from VB to FB

I would then build the MFD and report off of the FB copy/version.

Utilities such as DFSORT or SYNCSORT, can do the conversion.

Dave




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster