View previous topic :: View next topic |
Author |
Message |
vallabhaneni Beginner
Joined: 26 Dec 2002 Posts: 23 Topics: 7
|
Posted: Tue May 06, 2003 8:24 pm Post subject: I need some info on eazytrieve |
|
|
Hi All,
I need to generate 5 five differnet files using eazytrieve.
My input: one file and one copy book in cobol
My output:is 5 files using the file and copy book.
In past I generated reports using eazytrieve.
I generated only one file.
Now I need to generate 5 files.
Already I created five copy books in my eazytrieve program.
How can I use move in eazytrieve.
Give me some idea
Thanks
Vallabhaneni |
|
Back to top |
|
|
rasprasads Beginner
Joined: 10 Dec 2002 Posts: 59 Topics: 20 Location: Chennai
|
Posted: Tue May 06, 2003 8:59 pm Post subject: |
|
|
Vallabhaneni,
Can you please give a more detailed description of your requirement ? _________________ Rasprasad S |
|
Back to top |
|
|
vallabhaneni Beginner
Joined: 26 Dec 2002 Posts: 23 Topics: 7
|
Posted: Wed May 07, 2003 11:30 am Post subject: |
|
|
Hi Rasprasad,
I have a file1.
I need to write a 5 different files using file1 in eazytrieve.
I have occurs clauses in that file.
are you getting my point.
Thanks
Vallabhaneni |
|
Back to top |
|
|
akshaj Beginner
Joined: 30 Dec 2002 Posts: 12 Topics: 8
|
Posted: Wed May 07, 2003 7:28 pm Post subject: |
|
|
Hi ,
If u've say occurs 5 times in the input and u want to write data unter under each occurs to a different file use index.
logic would be something like this
if index 1
put file2
if index 2
put file3
etc., |
|
Back to top |
|
|
vallabhaneni Beginner
Joined: 26 Dec 2002 Posts: 23 Topics: 7
|
Posted: Wed May 07, 2003 9:33 pm Post subject: |
|
|
Thanks for your info.
But I have a big file the length is 14100.
I need to make it 5 five parts.
My logic was not based on subscript.
When I am doing move I got occurs clause.
I declared subscript and
I wrote logic like
move proc to proc1
move hcps to hcpc1
move +1 to sub
do while until sub1 > 9
move code to code1
add +1 to sub
end-do
Thanks |
|
Back to top |
|
|
|
|