Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subheader Pointer Format for referencing different pages not handled. #45

Open
PCaff opened this issue May 14, 2019 · 1 comment
Open

Comments

@PCaff
Copy link
Collaborator

PCaff commented May 14, 2019

In working on another Pull request, I came across a sas7bdat file that contains subheaders that produced I/O Exceptions. Opening the file up with a binary viewer, it was very obvious that the Subheader Pointer Offset was not a decimal pointer to an offset inside the page, but was a Decimal Pointer to the page number that the record persists in.

So, there is some restructuring that the subheader pointers need. They need to be able to function in their current way, but then also need to handle the possibility of referencing other pages.

This is most likely due to the associated indexes in the SAS file, making reading/editing the binary file easier and more efficient.

I currently cannot recreate a test sas7bdat file with this associated issue, as I am unaware of how to recreate the scenario. I can keep trying in the coming weeks.

@printsev
Copy link
Contributor

hey @PCaff -- have you been able to recreate the scenario so we can work on fixing the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants