Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CA Easytrieve compare

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

New User


Joined: 30 Apr 2008
Posts: 3
Location: Bangalore

PostPosted: Thu May 22, 2008 3:54 pm    Post subject: CA Easytrieve compare
Reply with quote

I have 2 files in easytrieve. I have to compare 2 fileds from both the fileds and need to write to output files. But in the first input file the fileds are.. alphanumeric. Eg:
I-DEP-NO 15 2 A
I-CLM-ID 43 14 A
and in the second input file these 2 fileds are..packed decimala nd binary..
eg:
DEP-NO 13 2 B
CLM-ID 15 6 P
Could you please suggest me how to compare these fields?

Deepthi
Back to top
View user's profile Send private message

HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Thu May 22, 2008 4:12 pm    Post subject: Reply to: Need help..its urgent pls!!!!
Reply with quote

did you search in this forum before..

try this link ,
may helpfull..http://www.jmit.com/os390/docs/CA/EZTP-62-UserGuide.pdf

i think you may get if you search in this forum then internet
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Thu May 22, 2008 4:59 pm    Post subject: Reply to: Need help..its urgent pls!!!!
Reply with quote

Hi,
Declare working storage for each field as numeric
W-DEP-NO 2 N
W-CLM-ID 14 N
move that I-DEP-NO 15 2 A
I-CLM-ID 43 14 A to the working storage (i guess 15 43 is the starting position)in the same way do it for the second easytrieve.
now you can compare and write it to an output file.
Back to top
View user's profile Send private message
Deepthi Reddy

New User


Joined: 30 Apr 2008
Posts: 3
Location: Bangalore

PostPosted: Thu May 22, 2008 5:10 pm    Post subject: Reply to: Need help..its urgent pls!!!!
Reply with quote

Thanks for you reply. But I have one more question. I need to compare the both input files with the dep-code and clim-id fields then have to write to third file. But the problem is when we open the input files (JOB INPUT stmt) that time need to give key fileds (comparing fileds). So I think we cannot move to them to the working storage fileds and compare.

Is there any other way pls let me know...

Deepthi.
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Thu May 22, 2008 5:51 pm    Post subject: Reply to: CA Easytrieve compare
Reply with quote

Hi,
I am not getting you can you give me some more info on this because this easytrieve is written to compare and write to an output file is that correct?
Back to top
View user's profile Send private message
Deepthi Reddy

New User


Joined: 30 Apr 2008
Posts: 3
Location: Bangalore

PostPosted: Thu May 22, 2008 6:10 pm    Post subject: Reply to: CA Easytrieve compare
Reply with quote

Hi,

Yes you are correct..

I got the idea for my question.. Thanks alot for ur help..




Thanks in Advance,
Deepthi
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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us