Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Easytrieve - add counter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
rkarthik22

New User


Joined: 18 Apr 2009
Posts: 47
Location: India

PostPosted: Thu Apr 23, 2009 11:10 am    Post subject: Easytrieve - add counter
Reply with quote

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
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 23, 2009 4:16 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Apr 23, 2009 8:46 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Apr 23, 2009 9:01 pm    Post subject:
Reply with quote

Or just wait for a reply in the other forum where you posted the same question.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Apr 23, 2009 10:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm
No new posts Query regarding Easytrieve program shanudarling All Other Mainframe Topics 2 Wed Jan 06, 2016 5:33 pm
No new posts Adjust Heading Position in Easytrieve thesumitk CA Products 4 Mon Dec 21, 2015 3:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us