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

EBCDIC files received don't have Record Descriptor Word (RDW) but the file have variable length record #51

Closed
swami2018 opened this issue Mar 5, 2019 · 2 comments
Labels
question Further information is requested

Comments

@swami2018
Copy link

I am trying to read a header record file and it have variable length fields. But the file don't have a Record Descriptor Word (RDW). On reading the file, i could see first 4 characters getting truncated as i am using the option 'option("is_record_sequence", "true")'. Is there anyway to avoid this truncation.

@yruslan
Copy link
Collaborator

yruslan commented Mar 6, 2019

Currently the only way to load a variable length record file is by relying on RDW header. Otherwise Cobrix won't know sizes of each record.

Could you elaborate on your use case a little bit more. In particular,

  • What is your copybook?
  • What acts as a record delimiter in your file?
  • Where in the file a record length is defined?
  • Could we take a look at a sample of such file?

@yruslan yruslan added the question Further information is requested label Mar 6, 2019
@swami2018
Copy link
Author

We can close this issue. The file is fixed length file but have array elements in it. Initial assumption was the array can upto the 0 to maximum array size defined but in MF all the array elements have to be defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants