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 ?
Appending the whole input file ?
-
- Posts: 11
- Joined: Sun Aug 29, 2010 11:49 am
- Skillset: JCL, COBOL
- Referer: google
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: Appending the whole input file ?
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.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Appending the whole input file ?
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.
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.
d.sch.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
File Handling 3 input files and 1 output file by using EZT
by pavan426 » Thu Sep 09, 2021 12:17 am » in CA-Easytrieve - 0
- 4416
-
by pavan426
View the latest post
Thu Sep 09, 2021 12:17 am
-
-
- 2
- 1344
-
by RazVorox
View the latest post
Tue Dec 05, 2023 11:06 am
-
- 23
- 4352
-
by collinsm
View the latest post
Thu Sep 22, 2022 5:29 am
-
-
Convert fixed-length input records to variable-length output
by xcspg3 » Wed Oct 23, 2024 1:45 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 1433
-
by sergeyken
View the latest post
Wed Oct 30, 2024 1:09 pm
-
-
-
EZIOE004 Logical I/O error on file occurred reading VB file
by savitha_y » Mon Feb 15, 2021 7:54 pm » in CA-Easytrieve - 3
- 4957
-
by savitha_y
View the latest post
Wed Feb 17, 2021 5:02 am
-