Page 1 of 1
Work with file aid compare to work against multiple record types.
Posted: Mon Nov 19, 2018 7:54 pm
by Priya
Can someone please help me to work with file aid compare to work against multiple record types? If yes, can someone please provide with couple of examples. I had been struggling to get it setup.
Re: Work with file aid compare to work against multiple record types.
Posted: Tue Nov 20, 2018 2:42 pm
by nicc
It might help if you show what you have done so far so that someone can point out where you have gone wrong or what step(s) you have missed.
Re: Work with file aid compare to work against multiple record types.
Posted: Tue Nov 20, 2018 3:42 pm
by enrico-sorichetti
investigate the use of the XREF specifications
Re: Work with file aid compare to work against multiple record types.
Posted: Thu Nov 22, 2018 7:13 pm
by Priya
To make my life easy I made two simple files to compare: MISXY2.FILEAID.COMPARE.TEST. Another file MISXY2.FILEAID.COMPARE.TEST1. As of now both the files are just copy of each other:
Code: Select all
VIEW MISXY2.FILEAID.COMPARE.TEST Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
000100 FIRST LINE
000200 SECOND LINE
000300 THIRD LINE
000400 FOURTH LINE
000500 FIFTH LINE
****** **************************** Bottom of Data ****************************
Second file:
Code: Select all
VIEW MISXY2.FILEAID.COMPARE.TEST1 Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
000100 FIRST LINE
000200 SECOND LINE
000300 THIRD LINE
000400 FOURTH LINE
000500 FIFTH LINE
****** **************************** Bottom of Data ****************************
Have created a layout for them:
Code: Select all
VIEW MISXY2.CPYLIB(FILEAIDC) - 01.00 Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
000001 01 GROUP-LEVEL
000002 05 VALUE-1 PIC X(6).
000003 05 VALUE-2 PIC X(6).
****** **************************** Bottom of Data ****************************
In file-aid selected option-10, (10 COMPARE - Compare file contents )
After following the instruction online, I reached to this screen and stuck here:
Code: Select all
File-AID ----------- Compare - Formatted Criteria ----------------------------
COMMAND ===> SCROLL ===> PAGE
OLD FILE - MISXY2.FILEAID.COMPARE.TEST ----------------------------------------
Cmd Field Name Format Status Display
GROUP-LEVEL GRP 12
_ VALUE-1 C 6 COMPARISON FIELD
_ VALUE-2 C 6 COMPARISON FIELD
******************************* BOTTOM OF DATA ********************************
What to do next?
Re: Work with file aid compare to work against multiple record types.
Posted: Fri Nov 23, 2018 12:39 am
by prino
RTFM?
[ Post made via Android ] 
Re: Work with file aid compare to work against multiple record types.
Posted: Fri Nov 23, 2018 3:32 am
by nicc
Press F1?
Re: Work with file aid compare to work against multiple record types.
Posted: Mon Nov 26, 2018 10:54 pm
by Robert Sample
According to what I see online, the bottom of the screen you posted should have
Cmd: S = Sync/Key, T = Tolerance, P = Print, C = Compare, R = Reset
If you need more assistance, use the PF1 (F1) key.
Re: Work with file aid compare to work against multiple record types.
Posted: Tue Dec 04, 2018 10:12 pm
by Priya
Thanks all for your suggestion. I did look at documentation but did not find something to give me a direction. Honestly, I could not spend much time on it though I shall try again.
Thanks for suggestion so far.
Yes, Robert I saw those options but once I gave "C" in front of the variables and pressed F3, it did not show the comparison of those variable, which I expected.
Re: Work with file aid compare to work against multiple record types.
Posted: Wed Dec 05, 2018 3:17 pm
by nicc
Why F3 (usually the end key) instead of Enter (usually process the command)?