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 To remove spaces from a VB file using... Selvarajars DFSORT/ICETOOL 4 Thu Jun 21, 2018 6:57 pm
This topic is locked: you cannot edit posts or make replies. To remove spaces in a variable length... Selvarajars JCL & VSAM 1 Thu Jun 21, 2018 1:07 pm
No new posts B059 PREMATURE END OF FILE mvmadhuvenkatesh CA Products 5 Tue Jun 19, 2018 10:50 am
No new posts Formating output file Niki DFSORT/ICETOOL 3 Fri Jun 15, 2018 3:27 pm
No new posts Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm

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