Using XREF in File-Aid.

File-AID from Compuware and File Manager from IBM.
Post Reply
Shaurbh Sharma
New Member
Posts: 8
Joined: Fri Sep 05, 2014 9:56 am

Using XREF in File-Aid.

Post by Shaurbh Sharma »

Hello All,

I am using file-aid first time and learning how to use XREF? My team ates are not very familiar with this concept of file aid. Can you please help me understanding and using it?

Appreciate your help.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Using XREF in File-Aid.

Post by nicc »

You have the manuals available to you - somewhere. And the F1 key.
Regards
Nic
Shaurbh Sharma
New Member
Posts: 8
Joined: Fri Sep 05, 2014 9:56 am

Re: Using XREF in File-Aid.

Post by Shaurbh Sharma »

I am trying and learning with that also.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Using XREF in File-Aid.

Post by Robert Sample »

XREF is most useful in viewing a data set with multiple record types. You can specify the rules that determine which record layout is used for which record (such as byte 1 being H means display the data using the Header layout, D means display the data using the Detail layout, T means display the data using the Trailer layout).

Reading the manual and experimenting on your own is probably the best way to understand XREF. Use a test data set (or create a test data set) to minimize your impact on production.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Using XREF in File-Aid.

Post by Anuj Dhawan »

As Robert has explained - the XREF function in File-Aid allows File-Aid to automatically load the correct record layout for the record you want to process. Picking example from Robert's post - byte 1 being H means display the data using the Header layout, D means display the data using the Detail layout, T means display the data using the Trailer layout, however, as the user, you have to setup an XREF definition where you must specify the condition (e.g. if RECORD-TYPE=H) and which layout to use if that condition is met.

This is a very useful as most (all?) of our files usually contain multiple record-types.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Shaurbh Sharma
New Member
Posts: 8
Joined: Fri Sep 05, 2014 9:56 am

Re: Using XREF in File-Aid.

Post by Shaurbh Sharma »

Thanks Robert and Anuj. Appreciate your explnations.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “File-AID and IBM File Manager.”