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
 
how to compar data set by using cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sunil_cse53
Currently Banned

New User


Joined: 06 Jun 2007
Posts: 2
Location: hyderabad

PostPosted: Thu Jul 26, 2007 4:46 pm    Post subject: how to compar data set by using cobol program
Reply with quote

How can we compare two files(ps r pds) and write them in another file.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Jul 26, 2007 4:48 pm    Post subject:
Reply with quote

Quote:
i am learning mainframes, i am having small problem. how can we compare two files(ps r pds) and write them in another file. if u r having any idea please reply me

Have you ever heard of SUPERCE?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Jul 26, 2007 4:53 pm    Post subject:
Reply with quote

sunil,

Just for your info, try 3.12 (SUPERC) or 3.13 (SUPERCE) in ISPF.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Thu Jul 26, 2007 4:56 pm    Post subject:
Reply with quote

Hi,
You can also use FILE-AID Compare.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Thu Jul 26, 2007 5:09 pm    Post subject:
Reply with quote

Hi,

I misread the question ? Sorry.

IN Cobol, you can read the two files, check if there are equal are not, if not you can write into another file. Please tell us is that you want or and other condition.
Thanks
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 Jul 26, 2007 5:26 pm    Post subject:
Reply with quote

kgumraj wrote:
I misread the question ? Sorry.
Good, at least you caught it.....grin.....I wonder when the others will.....
I also wonder why the OP chose bold, big and that sickening color for the post????
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jul 26, 2007 7:21 pm    Post subject:
Reply with quote

Hi sunile,

Take a look at dick scherrer's stickey at the top of this forum for your ans.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm

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