jaysara
jaysara
I just got another requirements added to the above, if this is considered a new question, I can create a new question. There are scenarios where record length can vary...
Ok. Thanks. In the above copybook example you gave, the lenght of field is defined by "RECORD_LENGTH_FIELD PIC 9(4)" The FIELD1 and FIELD2 length will depend upon the value in...
Thanks ! That seems to be working.
hi. @yruslan The program seems to be working fine with the above options. However, I am not able to achieve the parallelization. on my map functions on the dataframe output....
I am having similar error. My file is located at [https://raw.githubusercontent.com/jaysara/spark-cobol-jay/main/data/ebcdic_bdwrdw.dat](https://raw.githubusercontent.com/jaysara/spark-cobol-jay/main/data/ebcdic_bdwrdw.dat) This is how this file is parsed outside of spark. Record -1: BDW = 430 RDW = 426 HEADER...
I apologize. I made an error in uploading the file. The ebcdic file with BDW and RDW is at [https://raw.githubusercontent.com/jaysara/spark-cobol-jay/main/data/bdw-rdw-sample-ebcdic.dat](https://raw.githubusercontent.com/jaysara/spark-cobol-jay/main/data/bdw-rdw-sample-ebcdic.dat) The ASCII equivalent of this file is at [https://raw.githubusercontent.com/jaysara/spark-cobol-jay/main/data/bdw-rdw-sample.txt](https://raw.githubusercontent.com/jaysara/spark-cobol-jay/main/data/bdw-rdw-sample.txt) Here...