I have one input file which has the following fields
ACCOUNT NUMBER and CODE
As of now CODE has only two values 1 and 2 and I know that the CODE values will be increased 1,2,3,4??.like??..
So I have to create the number of files based on CODE values dynamically?.
if the CODE has the values 1 and 2 then I have to create 2 files and if the CODE has the values 1,2,3 then I have to create 3 files and if the CODE has the values 1,2,3,4 then I have to create 4 files dynamically??and so on and so forth?
Note : I don?t know the unique values of CODE in the input file means?.it may 1 or 1,2 or 1,2,3, or and so on and so forth?.. Can we do like this?.
I hope you understood my problem?..
May I know whether I can create the files dynamically using the cobol program...