View previous topic :: View next topic
|
Author |
Message |
rkarthik22
New User
Joined: 18 Apr 2009 Posts: 47 Location: India
|
|
|
|
Please help me out....
A1 - DE-ID
P1 PA-ID
I want to read the input file and …..
Suppose A1 has got “12345” as one record and “12345” as second record.. but the correspondind PA-ID has got two different values for the A1 values like this…
P1 A1
98765 12345
58974 12345
698745 36363
710398 36363
147892 903698
027007 903698
549712 539001
478930 145689
790397 145689
097033 145689
036472 145689
I want to add counters using Easytrieve program (as a separate field in the output file) like this
A1 - DE-ID
P1 PA-ID
C1  Counter
P1 A1 C1
98765 12345 1
58974 12345 2
698745 36363 1
710398 36363 2
147892 903698 1
027007 903698 2
549712 539001 1
478930 145689 1
790397 145689 2
097033 145689 3
036472 145689 4
Please help me out how to accomplish this using Easytrieve….
(I tried with using IF DUPLICATE ….but its not working, I think I have to use READ statement….please help me out..) |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Quote: |
A1 - DE-ID
P1 PA-ID
|
You have a code page problem, seek help....
Adding a counter to output should be simple. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Once you correct the code page problem, post the Easytrieve code that is not working/needs enhancement. Suggest you use the "Code" tag for readability. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Or just wait for a reply in the other forum where you posted the same question. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
he was told to use search in the future
and
was provided a link that is an example of his exact problem.
for others not able to keep up with this soap-opera,
seqnum was subject of the suggested solution. |
|
Back to top |
|
|
|