I have a coded a small fex on the mainframe FOCUS for testing. My goal is to route the output directly to the remote printer rather than my monitor display.
At the top of the FOCUS program I have coded:
SET PRINT = ONLINE
-INCLUDE PRTLAND4
-RUN
- - - - - - - - - Then. I have the FOCUS code I want to produce a report - - - - - - - - -
At the bottom of the program, I coded:
RELEASE
The included PRTLAND4 FOCUS program is 3 lines of code:
I don't have any RELEASE statements in the code. I think the TSO FREE/ALLOC OFFLINE commands goe at the top of a report. At the end of report execution the report printed on printer RMT695...
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
February 26, 2013, 02:36 PM
Tomsweb
Thank you Francis. Before you replied, I did remove the RELEASE cmd and it works better.