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
 
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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

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