\documentclass{acmtrans2f}
should be replaced by
\documentclass[acmtocl]{acmtrans2m}
\acmVolume{TBD}
\acmNumber{TBD}
\acmYear{TBD}
\acmMonth{TBD}
The TBD's will be eventually replaced with the appropriate information about the volume, number, year and month of the TOCL issue in which the paper will appear.
\firstfoot{ACM Transactions on Computational Logic, Vol.\ TBD, No.\ TBD, TBD TBD, Pages \pages.}
\runningfoot{ACM Transactions on Computational Logic, Vol.\ TBD, No.\ TBD, TBD TBD.}
\permission{TBD}{TBD}
(the permission command is inside the bottomstuff environment)
\appendix
\section*{ELECTRONIC APPENDIX}
\appendixhead{TBD}
by
\appendix
\appendixhead{NAME}
where TBD is the last name of the first author ended by a ".ps" suffix. E.g., if the first author is K. Apt, then NAME is apt.ps
Also you have to replace the line
\elecappendix{http://www.acm.org/tocl}{2001}{ACM Transactions on Computational Logic, TBD, Pages \pages.}{\permission{TBD}{TBD}}
by
\elecappendix