Focal Point
[SOLVED] error on TSO RELEASE dataset command...

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5327020926

February 25, 2013, 04:53 PM
Tomsweb
[SOLVED] error on TSO RELEASE dataset command...
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:
OFFLINE CLOSE
TSO FREE F(OFFLINE)
TSO ALLOC F(OFFLINE) SYSOUT(A) DEST(RMT320) WRITER(LAND08)


It has been yeatrs since I have even tried this, but I am getting the error:
quote:

UNKNOWN FOCUS COMMAND RELEASE
BYPASSING TO END OF COMMAND


Sometimes it works and other times not so good... Confused

Does it matter that I am getting the message for RELEASE?
Is that a fatal message?

Thanks!

This message has been edited. Last edited by: Kerry,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
February 25, 2013, 05:13 PM
FrankDutch
What do you expect the command RELEASE should do for you?

Maybe add a question mark before the release command might help.
? RELEASE




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

February 25, 2013, 05:39 PM
Tomsweb
RELEASE is a TSO command to release the data set.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
February 26, 2013, 06:49 AM
FrankDutch
Mixing focus language and tso ..not sure if that will ever work.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

February 26, 2013, 10:44 AM
Francis Mariani
Digging through the crates of ancient code, I came across this:

OFFLINE CLOSE
TSO FREE F(OFFLINE)
TSO ALLOC F(OFFLINE) SYSOUT(A) COPIES(1) DEST(RMT695)


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.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36