Appending the whole input file ?



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

Appending the whole input file ?

Postby charlessxavier » Thu Sep 29, 2011 1:01 pm

Hi all,

I m processing a flat file thru easytrieve,
My job is to add a particular field in the input file which has numerous lines and to print it in the first line

I am processing each line and using a counter to store the value and print the same in first line

But i have to reproduce the same input file below the first line.. how can i do it ?

Or in other words is there any way to append the whole file after processing the whole input file ?
charlessxavier
 
Posts: 11
Joined: Sun Aug 29, 2010 11:49 am
Has thanked: 0 time
Been thanked: 0 time

Re: Appending the whole input file ?

Postby BillyBoyo » Thu Sep 29, 2011 5:01 pm

charlessxavier wrote:Hi all,

I m processing a flat file thru easytrieve,
My job is to add a particular field in the input file which has numerous lines and to print it in the first line

I am processing each line and using a counter to store the value and print the same in first line

But i have to reproduce the same input file below the first line.. how can i do it ?

Or in other words is there any way to append the whole file after processing the whole input file ?


Charles,

It might be me being dense, but I can't understand what you want.

You have an input file
You add a field
You want to print the field (and something else from the file, maybe)

Then, and this is fourth time through it, I just loose the explanation.

If you can expand on what you are trying to do, maybe even the business explanation, as I think you might be getting "approach" stuck in the way of solution, then I'm sure we can assist. Some sample of input, and required output(s).

Thanks.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Appending the whole input file ?

Postby dick scherrer » Fri Sep 30, 2011 1:44 am

Hello,

Post some sample input data and what you want as output when this input data is processed.

These do not need to be long records or many of them - just enough to demonstrate your requirement.

Once we understand the requirement, we may be able to make suggestions.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6269
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to CA-Easytrieve

 


  • Related topics
    Replies
    Views
    Last post