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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:firstname.lastname@example.org
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: