My situation is.....
I have a file which is old & got 18,000 records in it.
It has a numeric-field(Amount, Len 9,2).
Now the 'Amount'Field in the file is changed to 12-char, in the new library.
only this field's name is changed in order to avoid ambiguity. Otherwise the file-name & other fields remain the same.
Now i need to write a conversion program to copy all the existing records one-by-one into the new file, with the amount moving to CHAR-field.
I know the process of converting the Numeric to Char & pushing it to this field; but since the file-name is same, how do i do it?
Somebody suggested to use a OVRDBF of the file & call an RPG program, where i move the old-fields to the new-fields.
But I think there has to be 2-files; 1)Source to read from & 2)Target file to write into.
Iam confused as to how to do this.
The old file will be moved along with data into an archive library.
December 9, 2010 5:50 PM
December 18, 2010 1:33 AM