AnveshA

Results 4 comments of AnveshA

The cobol copybook says X (2) but however the data itself is coming from an Easytrieve with a data type of U (Packed Unsigned). Example is VARIABLE PIC X (2)....

[Easyterieve_Layout_sample.xlsx](https://github.com/AbsaOSS/cobrix/files/9597079/Easyterieve_Layout_sample.xlsx) Hi @yruslan , This is the Excel which we created from the Easytrieve layout. only sample fields are added here.

After using the above options the dataframe contains the Spaces. > This write will preserve the spaces in CSV file ``` df.write.option("ignoreLeadingWhiteSpace", "false")\ .option("ignoreTrailingWhiteSpace", "false").csv(output_path, header=True) ```

Hi @diddyp20 I have faced the similar error `copybook at line 28: Invalid input 'COMP-3U' at position 28:64` in the past wrt to my copybooks. check the field alignment in...