>WTO is a lazy way to write something without all those OPEN/WRITE/PUT/CLOSE >macros. ;-)
WTO / WTOR is the means to communicate with the operator, either human or automated. The system provides that communication path. It does not need an setup on the program / JCL side. It should not be misused as cheap replacement for a "real" application log written to a dataset. If you really need some log information to appear in the jobs JESYSMSG log, use WTL. It will not disturb neither operators or automation. If you care to write a proper program documenting the actions done, don't shy away from OPEN/WRITE/CLOSE. IMHO, this is part of good programming style. -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN