Hi,
Greetings.
OBJECTIVE : I have to retrieve information from diffrent files and DB2 tables then write those values into single output file with delimiters (like $, #). I have a copy book for a output file. Assume 50 fields will be there in output file and 49 delimiters are required. For the delimiter fileds , I have defined variables like FIL1,FIL2..FIL49 in copybook and in the program i have move '$' to individual field. Which requires me to write 49 move statements.. I would like do it in a simple and efficient way.
Solution & Problem :
1. I planned to implement filler clause as filler clause values remains same even if you initialize it. The problem is when i write those file records, all the values is gone immediately.
Please suggest some better way of doing or implement this..