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
 

 

File-AID how to compare two fields within the same file

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

New User


Joined: 14 Jan 2011
Posts: 6
Location: UK

PostPosted: Fri Jan 14, 2011 1:07 am    Post subject: File-AID how to compare two fields within the same file
Reply with quote

Hi All

I am new to File-AID and have been asked to perform the following;

compare the values for 2 separate fields within the same file and return those rows whose values for the above fields do not match.

I am able to
open the file in Fileaid using the Primary Option Menu 1.Browse option, select the file i require
select the Selection Criteria Menu 2. Formattede option

after this i do not know what steps to take

Thanks
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jan 14, 2011 2:31 am    Post subject:
Reply with quote

Hello and welcome to the forum,

See if this prior topic will help:
http://ibmmainframes.com/viewtopic.php?t=16021
Back to top
View user's profile Send private message
Barry Keogh

New User


Joined: 14 Jan 2011
Posts: 6
Location: UK

PostPosted: Fri Jan 14, 2011 2:52 pm    Post subject:
Reply with quote

Thanks, but the solution provided requires that the file which contains the two fields for comparison is copied so that two files exit. I have severe restrictions on time and storage compounded with a lack of experience in File-AID, what i was hoping for was to

1. Open the file containing the two fields
2. Compare field1 with field2 with non-matching fields being returned (field1 was derived from field2 so we are hoping that the two fields match in every record).

does anyone know of an alternative method for comparing two fields within the same file without having to make a copy of the file?

Thanks
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 670
Location: Pennsylvania

PostPosted: Fri Jan 14, 2011 6:49 pm    Post subject:
Reply with quote

Barry,

If you are not able to get what you were hoping for, are you willing to take anything you can get?

Answering the following may help obtain an alternative solution.

1) What is the lrecl of the dataset?
2) How many records are there in the dataset?
3) Can the file be opened in ISPF VIEW?
4) What sort product and level do you have?
5) What does severe restriction on time and storage mean?

I ask these questions, because there may be options with REXX, ISPF Edit macro, or Sort.

Running as a batch job may help as well.

I can not help with File-Aid, and having that as a restriction may limit things as well.
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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