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
 

 

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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm


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