Using XREF in File-Aid.

File-AID from Compuware and File Manager from IBM.
Previous topicNext topic

Topic Author
Shaurbh Sharma
New Member
Posts: 8
Joined: Fri Sep 05, 2014 9:56 am

Using XREF in File-Aid.

Post by Shaurbh Sharma » Thu May 21, 2015 12:21 pm

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: 597
Joined: Wed Apr 23, 2014 8:45 pm

Re: Using XREF in File-Aid.

Post by nicc » Fri May 22, 2015 3:16 pm

You have the manuals available to you - somewhere. And the F1 key.


Regards
Nic


Topic Author
Shaurbh Sharma
New Member
Posts: 8
Joined: Fri Sep 05, 2014 9:56 am

Re: Using XREF in File-Aid.

Post by Shaurbh Sharma » Tue May 26, 2015 6:04 pm

I am trying and learning with that also.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Using XREF in File-Aid.

Post by Robert Sample » Tue May 26, 2015 11:07 pm

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: 2624
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Zodiac: Sagittarius

Re: Using XREF in File-Aid.

Post by Anuj Dhawan » Thu May 28, 2015 3:34 pm

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.


Topic Author
Shaurbh Sharma
New Member
Posts: 8
Joined: Fri Sep 05, 2014 9:56 am

Re: Using XREF in File-Aid.

Post by Shaurbh Sharma » Thu Jun 04, 2015 9:01 pm

Thanks Robert and Anuj. Appreciate your explnations.



Previous topicNext topic

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