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 Data security erase on RAID device steve-myers All Other Mainframe Topics 0 Sat Jan 13, 2018 6:41 am
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Append the milliseconds to the data s... girishb2 DFSORT/ICETOOL 1 Thu Dec 21, 2017 9:07 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am

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