Locate the INVALID data in a field using FILE AID
The Easiest and Coolest way to locate bad data is thru File-Aid’sF IND command.
1.OPEN the file in FILE-AID (in either browse or edit mode)
2.XREF with COPYBOOK.
3.Use FMT mode
4.Then issue , F /field-name INVALID
F /field-number INVALID
The control will take you to the first invalid data record for the given field.
e.g., The FILE has 3 fields namely NAME,AGE,COUNTRY.
If you want to find the invalid data in the age field, then issue F /2 INVALID ( AGE is the second field in the copybook)
In United States, If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog
You may also like to look at:
|Working on Mainframes – Is Change to a different technology necessary|