Hi,
Please provide me some sample program along with logic which used to compare two adabas file or non-adabas file ?
Thanks in advance.
Regards,
Dipti
Program to compare two files in Natural
-
- Posts: 4
- Joined: Fri Jun 26, 2009 12:01 am
- Skillset: cobol,jcl,vsam,db2,cics
- Referer: from my freind
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: Program to compare two files in Natural
You are asking for the work product of a professional. Professionals expect to be paid. If you are interested in paying a professional, leave a message here and someone may contact you using the private mail facility of this forum. Please be patient; few people seem to be willing to pay, so it may be some time before a qualified professional willing to perform this task will read your post.diptisaini1 wrote:Hi,
Please provide me some sample program along with logic which used to compare two adabas file or non-adabas file ?
Thanks in advance.
Regards,
Dipti
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Program to compare two files in Natural
with logic which used to compare two adabas file or non-adabas file ?
the logic to compare two files is here
http://ibmmainframes.com/about22649.html
the code is written in COBOL but should not be difficult to code the equivalent for a different language
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 4
- Joined: Fri Jun 26, 2009 12:01 am
- Skillset: cobol,jcl,vsam,db2,cics
- Referer: from my freind
Re: Program to compare two files in Natural
I am preparing for an interview and normally this question is being asked in interview..
Appreciate your views.. Any help.... Thanks for your help.
Appreciate your views.. Any help.... Thanks for your help.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Program to compare two files in Natural
Hello,
As Enrico suggests, look at the topic he provided a link to.
This bit of code is rather straight forward and will work in every procedural language i've ever used.
If you see something that is not clear to you, post your doubt here.
As Enrico suggests, look at the topic he provided a link to.
This bit of code is rather straight forward and will work in every procedural language i've ever used.
If you see something that is not clear to you, post your doubt here.
Hope this helps,
d.sch.
d.sch.
- RGZbrog
- Posts: 101
- Joined: Mon Nov 23, 2009 1:34 pm
- Skillset: Natural, Adabas, Predict, Natural Security, Construct, EntireX, SPoD, NaturalONE
- Referer: SAG Developer Forum
- Location: California, USA
- Contact:
Re: Program to compare two files in Natural
To compare Adabas file contents, I would extract the data via Adabas utility or Natural program, and pass the extracts to SuperC.
I wouldn't consider the posted COBOL program to be equivalent to a comparison, but if you need such a thing, a "Natural sequential match" program has been available for download for years. I know because I posted it.
If you don't need to see field value differences, just to know if two files are equivalent, then I recommend a "Natural checksum" program. An example is available for this, too.
I wouldn't consider the posted COBOL program to be equivalent to a comparison, but if you need such a thing, a "Natural sequential match" program has been available for download for years. I know because I posted it.
If you don't need to see field value differences, just to know if two files are equivalent, then I recommend a "Natural checksum" program. An example is available for this, too.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Restart a program that has only GSAM output files
by RajaniSiddineni » Thu Jul 22, 2021 7:48 pm » in IMS DB/DC - 1
- 3971
-
by Isakshields
View the latest post
Mon Aug 09, 2021 5:57 pm
-
-
-
Joining 2 vb files into vsam files ended error
by newbiemainframe » Thu Nov 12, 2020 7:59 am » in JCL - 1
- 1748
-
by NicC
View the latest post
Thu Nov 12, 2020 7:15 pm
-
-
-
Calling Java program on UNIX/USS from a COBOL CICS program?
by zbius » Tue Nov 05, 2024 2:37 pm » in IBM Cobol - 2
- 2564
-
by zbius
View the latest post
Wed Nov 06, 2024 6:02 pm
-
-
-
compare substring in the same record
by samb01 » Mon Jun 12, 2023 1:08 pm » in DFSORT/ICETOOL/ICEGENER - 10
- 2813
-
by sergeyken
View the latest post
Tue Jun 13, 2023 11:04 pm
-
-
-
compare number lines of two dataset
by samb01 » Wed Nov 13, 2024 8:46 pm » in DFSORT/ICETOOL/ICEGENER - 6
- 2088
-
by sergeyken
View the latest post
Fri Nov 15, 2024 12:41 pm
-