Using XREF in File-Aid.
-
- New Member
- Posts: 8
- Joined: Fri Sep 05, 2014 9:56 am
Using XREF in File-Aid.
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.
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.
Re: Using XREF in File-Aid.
You have the manuals available to you - somewhere. And the F1 key.
Regards
Nic
Nic
-
- New Member
- Posts: 8
- Joined: Fri Sep 05, 2014 9:56 am
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Using XREF in File-Aid.
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.
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.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Using XREF in File-Aid.
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.
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.
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.
-
- New Member
- Posts: 8
- Joined: Fri Sep 05, 2014 9:56 am
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