Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Sending SYSPRINT to a sequential file on MVS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Sending SYSPRINT to a sequential file on MVS
 Login/Join
 
Platinum Member
posted
Can anyone tell me how to send SYSPRINT to a file so I can see what the code is echoing? The file gets created but the sysprint does not get written to the file, it continues to come to the screen! What am I doing missing? Doing wrong?
DYNAM FREE FILE SYSPRINT
DYNAM ALLOC FILE SYSPRINT DA 'P625926.SYSPRT.COMRPX3' NEW -
SPACE 1,1 TRACKS LRECL 80 BLKSIZE 8000 RECFM FB

Thanks in advance.

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


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Platinum Member
posted Hide Post
Isn't this the correct way to direct sysprint to a file?

DYNAM FREE FILE SYSPRINT
DYNAM ALLOC FILE SYSPRINT DA 'P625926.SYSPRT.COMRPX3' NEW -
SPACE 1,1 TRACKS LRECL 80 BLKSIZE 8000 RECFM FB
-RUN
-SET &ECHO=ALL;


TABLE FILE ......
BLAH, BLAH,
END
-RUN
-EXIT


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Virtuoso
posted Hide Post
I'm not 100% sure of how MF Webfocus works with respect to this post, but if it is the same as on other platforms, then there is no sysprint. The sysprint thing was actually a feature of focus, not of webfocus. As far as I know, there is no way of sending the output of what used to be sysprint to a file when you're in webfocus.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
You are correct, there is no sysprint with WebFOCUS - There should be a sysprint with regular MF FOCUS. You can see the source in the browser page.


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Master
posted Hide Post
It sounds like you are running online FOCUS for z/OS.

If that is the case, try using Session Monitor.

For example, this code:
  
DYNAM ALLOC DD CAR     DS TLA.FOCUS.CAR SHR REUSE
DYNAM FREE  DD FOCSAVE
DYNAM ALLOC DD FOCSAVE DS TLA.SESSMON    SHR REUSE
-*
SET SM = ON
-RUN
-SET &ECHO='ON';
-*
TABLEF FILE CAR
"DATE/TIME: &MDYY/&TOD"
PRINT *
END
-RUN
-*
/TOP
/SAVE
SET SM = OFF
DYNAM FREE DD FOCSAVE


Gives:
  
 BROWSE    TLA.SESSMON                               Line 00000000 Col
 Command ===>                                                  Scroll ==
********************************* Top of Data **************************
 TABLEF FILE CAR
 "DATE/TIME: 04022009/21.22.12"
 PRINT *
 END
0(FOC757) WARNING. YOU REQUESTED PRINT * OR COUNT * FOR A MULTIPATH FILE
  PAUSE.. PLEASE ISSUE CARRIAGE RETURN WHEN READY
...REPORT KILLED
1
0 NUMBER OF RECORDS IN TABLE=       18  LINES=     18
0
 /TOP
 /SAVE
 SET SM = OFF
 DYNAM FREE DD FOCSAVE




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Platinum Member
posted Hide Post
Thanks much - that did the trick. I have working with WebFOCUS for so long, I have forgotten the techniques for plain ole' FOCUS!


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Sending SYSPRINT to a sequential file on MVS

Copyright © 1996-2020 Information Builders