A Salt Lake television station is giving up its fight to prevent the Equal Employment Opportunity Commission from going through its personnel files in a sex-discrimination case.

Last month, U.S. District Judge David Sam ordered KUTV to show cause why he should not force it to obey a subpoena issued by the EEOC in July, after the station's former personnel director charged the station was engaged in discrimination.Bonnie R. Egelund, West Valley City, the former personnel director, said she was fired because she was over 40 and a woman. The company, based in Nevada, said she was terminated because of a reduction in force.

Attempting to investigate whether KUTV had developed discriminatory practices, the EEOC issued a subpoena asking for personnel files of all employees terminated or laid off between July 22, 1985, and Feb. 22, 1986.

KUTV's law firm responded by refusing to produce the documents on the grounds that EEOC lacks jurisdiction. At that point the EEOC's Phoenix office asked Sam to order compliance, and Sam scheduled a hearing.

However, KUTV has agreed to produce the documents.

"The parties will arrange for a mutually agreeable matter of production," Sam ruled. The records must be turned over to EEOC by Jan. 5, 1989.

A hearing was tentatively scheduled for Jan. 30, 1989.