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
 

 

Compare only some fields of a variable file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
gigs

New User


Joined: 08 Aug 2005
Posts: 27
Location: USA

PostPosted: Thu Jun 29, 2006 11:49 am    Post subject: Compare only some fields of a variable file
Reply with quote

Hi,

How to compare only some fields of a file. If the file has a variable fields and I need to skip during compare, is it posible ?

Supose a file has fields: A B C D E F G H I J K
E is variable fields occurs 100 times. I need to skip E and I fields and compare only rest of the fields.
Back to top
View user's profile Send private message

Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Fri Jun 30, 2006 1:51 pm    Post subject:
Reply with quote

Hi Gigs,

Can you please elaborate your query. From what I understand, I think we can do this using Fileaid's compare feature.
Back to top
View user's profile Send private message
gigs

New User


Joined: 08 Aug 2005
Posts: 27
Location: USA

PostPosted: Fri Jun 30, 2006 5:02 pm    Post subject:
Reply with quote

I want to compare to two files, and only the fields of interest to me is the fields A B C D G H J and K. I don't want to compare the fields E and I.

I know that it can be done by fileaid, but I don't know it can be done.
Back to top
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Tue Jul 04, 2006 2:12 pm    Post subject:
Reply with quote

Hi Gigs,

By fields, do you mean you have fixed column numbers or copy book for these fields.

If I understand your question, I think you could use the compare option and then use unformatted and specify the columns and the length you want to compare.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP xls file from Mainfrmae kumarsatheeshc1 TSO/ISPF 5 Tue Jun 20, 2017 6:56 pm
No new posts Validate if a Value from the file is ... balacsv2 COBOL Programming 8 Mon Jun 19, 2017 11:52 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts XML Parse for large file muralikrishnan_new COBOL Programming 3 Mon Jun 12, 2017 12:50 pm


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