- To make the FIELDNAME , TITLE and ALIAS the same add the following line to fex1.fex
ON TABLE SET HOLDATTRS CUBE- Updated fex1.fex will look like this...
- DEFINE FILE CAR
- COUNTRYOLD/A14=COUNTRY;
- END
- TABLE FILE CAR
- SUM CAR
- COUNTRYOLD AS COUNTRYNEW
- BY COUNTRY
- ON TABLE SET ASNAMES ON
- ON TABLE SET HOLDLIST PRINTONLY
- ON TABLE SET HOLDATTRS CUBE
- ON TABLE HOLD AS app02/carMaster1 FORMAT SQLMSS
- END
- -RUN
- Now check the carMaster1 master file and you will notice that FIELDNAME, TITLE and ALIAS are all COUNTRYNEW.