Given above is File format of a record.
After the first read of the file, EMP-NBR-1 has 0098654512412 but EMP-NBR-2 has value 098654512 and EMP-SUB-2 has 2.
What values should i use in PIC clause of redefined variable so as to read the entire vaue correctly( i.e. EMP-NBR-2 should have value 0098654512 and EMP-SUB-2 should have 412)
Or please suggest any other method to divide the 13 digit comp-3 variable into first 10 and 3 digits.