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
 
Comparing two files one is declared as COMP and other as Dis

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

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Wed Sep 26, 2007 4:01 pm    Post subject: Comparing two files one is declared as COMP and other as Dis
Reply with quote

Hi,
I am having two files. One file has varibles decled with DISPLAY and other file is declared as COMP.
COMP file is like below.
---------------------------------------------
-LE PIC S9(4) USAGE COMP.
-ACCT PIC S9(9) USAGE COMP.
-OU PIC S9(9) USAGE COMP.
-DATASRC PIC X(03).

DISPLAY file is
-------------------------------
LE PIC S9(4)
ACCT PIC S9(9)
OU PIC S9(9)
DATASRC PIC X(03)

How do I need to compare these two manually? I mean by opening the two files?
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: Wed Sep 26, 2007 4:08 pm    Post subject:
Reply with quote

To what end are you comparing?
If -LE = LE?
Back to top
View user's profile Send private message
ganna_f16

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Wed Sep 26, 2007 5:06 pm    Post subject:
Reply with quote

I am comparing the same.
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: Wed Sep 26, 2007 5:26 pm    Post subject:
Reply with quote

Just compare them, any numeric field (comp, comp3 or display) can be compared against any numeric field (comp, comp3 or display)......
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 Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts How to build one file from two input ... daniele DFSORT/ICETOOL 5 Tue Feb 27, 2018 6:45 pm
No new posts To get Non matching row after compari... vinu78 DB2 7 Fri Jan 05, 2018 5:43 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

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