I have requirements in which I have to pass the file as parameter to another program with defaulting the field value as, If character field default the first character as '%' and if Numeric default till the length of the field with -9999.
As per now I'm getting two options.
1. Create the outfile of the PF, read it in prog and loop the file to default the value on the basis of field type.
2. Create an another external file,with default values. Define in my program as external data structure and move the values to the other file.
But I'm not finding both the options good. Can anyone suggest me something better.
It will be great help.