Dear Marc,
Here is the detail information.
I have a (LRECL = 2000)variable length flat file as a input file. I want to transfer this VB flat file on Unix server by using MQSeries. So i am reading this file as a input.
I am reading each line one by one till the file ends. Maximum possible no. of lines will be 4600.
So i have declared one TEMP Table logic
01 WS-TEMP-TABLE.
03 WS-TABLE-DATA OCCURS 4600 TIMES INDEXED BY WS-INDEX.
05 WS-TABLE-RECORD X(1996).
I am reading each line of the input file one by one and putting the respective record into above temporary table.
after reading all the input file records, i am coverting the corresponding TEMP table records into single MQ message data. Maximum possible input file data can be up to
10 MB.
So i have following questions
1. Is the above defined TEMP Table ARRAY is correct with respect to the INPUT file read?
2. TEMP table will accomodate maximum 10 MB data during the processing? if yes then how?
3. if i have only 2000 records in my input file, then how can i release the remaining empty space from the TEMP table? which commond i will have to use in ARRAY?
Please suggest,
Thanks in advance,
Regards,
Nits