Activity for Manikeshwar Nandu

  • Manikeshwar Nandu Manikeshwar Nandu posted a comment on discussion Open Discussion

    We are using csvtocobol to covert delimit file to cobol, 01 Plan-Record. 03 Record-Type PIC X(01). 03 SSN PIC X(14). 03 Name PIC X(30). 03 Loan-Number PIC X(3). 03 Source occurs 5 times. 05 SourceIndicator PIC X(3). 05 SourceDollarAmount PIC X(15). 03 source PIC X(1). 03 FILLER PIC X(100). java -jar ../../lib/Csv2Cobol.jar ^ -C csvtocbpl.cbl ^ -Delimiter , ^ -I csvDelimited.csv ^ -O DTAR020.fromCsv.bin ^ -IFS Text ^ -FS Fixed_Length ^ -B 1 ^ -CsvParser 7 The output generated is in a single line.

  • Manikeshwar Nandu Manikeshwar Nandu posted a comment on discussion Help

    I have a delimitted file like below where records a comma separated. A,123-12-1234,John Doe,123,ABC,5890.5,GYT,19477.7,TYU,2865.00,KJG,17779.3,JKH,19477.7,A A,456-89-1256,Sam Karl,456,ABC,11460.00,GYT,21176.1,TYU,43517,KJG,19477.7,JKH,21176.1,A A,123-12-1235,Winse Chey,789,ABC,17029.5,GYT,22874.5,TYU,44877.00,KJG,21176.1,JKH,22874.5,A A,456-89-1257,John Doe,658,ABC,22599.00,GYT,24572.9,TYU,58156.2,KJG,22874.5,JKH,24572.9,A A,123-12-1236,Sam Karl,956,ABC,28168.5,GYT,26271.3,TYU,71435.40,KJG,24572.9,JKH,26271.3,A...

  • Manikeshwar Nandu Manikeshwar Nandu posted a comment on discussion Help

    I would like to use JRecord on files which look like cobol files (Having occurences) but have a delimiter as well along with record length. Record can be either lenght separated of delimiter separated which ever terminates the record earliest. A,123-12-1234,John Doe,123,ABC,5890.5,GYT,19477.7,TYU,2865.00,KJG,17779.3,JKH,19477.7,A A,456-89-1256,Sam Karl,456,ABC,11460.00,GYT,21176.1,TYU,43517,KJG,19477.7,JKH,21176.1,A

1