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 two files in File AID.

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

New User


Joined: 24 May 2009
Posts: 41
Location: Hyderabad

PostPosted: Fri Mar 25, 2011 1:39 pm    Post subject: Compare two files in File AID.
Reply with quote

Hi all,
I am having a Requirement.
we have two files.

File 1 is having Having following record layout.
01 ws1-a-b
05 ...
05 ...
05 ...
05 sub-ws1 pix X(5).
05 ...
05 ...
01 ws1a-b-c
05 ...
05 ...

In file 2 we are changing the length of sub-ws to 7, which is shown below.

01 ws1-a-b
05 ...
05 ...
05 ...
05 sub-ws2 pix X(7).
05 ...
05 ...
01 ws2a-b-c
05 ...
05 ...

After writting file 2 from file 1, i want to compare both and show that the change is in only sub-ws variable, and i want to show this for all the records in both the file.

I thought for excluding certain positions in comparision using file Aid but above length change can be present in 3-4 places. so that will not work.

Please Help.
Regards,
Kapil.
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1895
Location: UK

PostPosted: Fri Mar 25, 2011 3:25 pm    Post subject:
Reply with quote

In future you should post your FileAid queries in the Compuware section as it is their product, not CA's.

You are only showing one change to record length - are some of the fields between th 01 level and the field you are changing of variable length?

It is PIC not PIX
Back to top
View user's profile Send private message
kapiltamrakar

New User


Joined: 24 May 2009
Posts: 41
Location: Hyderabad

PostPosted: Mon Mar 28, 2011 12:14 pm    Post subject:
Reply with quote

Hi Nic,
Thanks for replying. I will take care for posting related queries in Compuware section. Thanks for bringing this in my notice too.. icon_smile.gif

No, There are not any variable length fields there.

I have got the answer for my query. I am using File Aid compare , with sorted approach ignoring the columns which are not needed to compare.

Thanks for your attention... icon_smile.gif

Regards,
Kapil.
Back to top
View user's profile Send private message
satyapn9

New User


Joined: 08 Oct 2010
Posts: 27
Location: India

PostPosted: Mon Mar 28, 2011 6:34 pm    Post subject: Compare two files in File AID.
Reply with quote

Hi Kapil,

How are you? This is Satya Prasad Nimmakayala, hope you have remembered me as we met in the training sessions of batch 753-754 in STC icon_smile.gif .

I hope all you need is the Comparision between two files using File-AID.
We had the code for this to compare two files. I am pasting it here.

The below statement we had in one Cntl Card
$$DD01 COMPARE
and compare options in another CNTL card. Attached this one. and also attached the output statestics.

Please check if this helps you.
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

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