Reading next file



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

Reading next file

Postby ram23bal » Sat Jun 28, 2008 2:22 pm

Hi All,

I have a small query in Easy trieve.

Is it possible to read the next file while the current file is in progress.

Say for example my PS file is as follows
-----------------------------------------------------------
SEGMENT |
------------------------------------------------------------
CUSTOMER 001928989 ACCOUNT 100484 CHENNAI
ACCOUNT 1111111111 SAVING 10000000
ACCOUNT 1111111113 SAVING 10000000
ACCOUNT 1111111114 SAVING 10000000
ACCOUNT 1111111115 SAVING 10000000
ACCOUNT 1111111116 SAVING 10000000
CARD VISA DEBT 09192839494
ADDRESS BESABT NAGAR CHENNAI

I want to read the CUSTOMER segment first and put it in a outfile( this can be done no probs)
Second thing is I should put the ADDRESS segment in outfile before reading ACCOUNT segment.
Is it possible to perform without using arrays, why because I donno how many ACCOUNT segments are present. All the segments are cyclic they will be repeating.

Waiting for a solution
ram23bal
 
Posts: 32
Joined: Sat May 24, 2008 3:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Reading next file

 

Re: Reading next file

Postby dick scherrer » Sun Jun 29, 2008 12:18 am

Hello,

Waiting for a solution
You may be waiting for a while. . . I'm sure your request is completely clear to you, but is not to others (i.e. - me ;) ).

Which kind of segment is being used? From some database?

Second thing is I should put the ADDRESS segment in outfile before reading ACCOUNT segment.
We have not been able to convince CA that "Psychic Mode" should be incorporated into easytrieve. How do you propose to put something nto the output that has not yet been gotten?

If you explain what you need to do rather than how you want/don't want to solve it, we may be able to offer 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