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     [CLOSED] Need to execute a MVS Procedure and Call Excel Template

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Need to execute a MVS Procedure and Call Excel Template
 Login/Join
 
Platinum Member
posted
Hello,

I have some webfocus fexs that have to run on the mvs mainframe environment. These procedures are executed by report caster. Is there a way to position a excel template so the mvs procedure can find it from report caster.

Thanks

Dan Moyer

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


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Expert
posted Hide Post
Hi Dan,

Info from a case: Bursting an Excel Template document in ReportCaster is supported starting in ReportCaster 713.

If you still have questions, please contact Information Builders' Customer Support Services and open a case.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Platinum Member
posted Hide Post
Thanks


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
<JG>
posted
Dan you do not mention that you want to burst the reports just that you want to use a template.

Excel templates are supported in your version 7.1.1

The template files must reside in a PDS with a RECFM VB and LRECL 512.

You will need to allocate the PDS to a ddname of MHT

DYNAM FREE FILE MHT
DYNAM ALLOC FILE MHT DS xx.yy.zz SHR REU

where xx.yy.zz is your pds name

You can allocate the PDS either in the server start up procedure,
in the profile or in your focexec.

When you transfer the files to the PDS make sure you do so in ASCII.

This message has been edited. Last edited by: <JG>,
 
Report This Post
Platinum Member
posted Hide Post
quote:
DYNAM FREE FILE MHT
DYNAM ALLOC FILE MHT DS xx.yy.zz SHR REU


Ok,

I tried

* File IA0033LF.fex
DYNAM FREE FILE MHT
DYNAM ALLOC FILE MHT DS PIA.IA0033LF.XLS.MHT SHR REU

-SET &ECHO=ALL;
SET BYDISPLAY = ON


Later in the program I put

ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'MHT' SHEETNUMBER 1
ON TABLE SET STYLE *
UNITS=IN,

Then I get an Error

Task error: UNABLE TO FIND DDNAME MHT

No report to distribute.

Any Help

Thanks

Dan


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Member
posted Hide Post
Did you upload your Excel template to PIA.IA0033LF.XLS.MHT? It's been a while since I've done this, but here is the little bit of documentation I put together:

To create the template, open EXCEL.
Insert a blank worksheet
Put blank space in first cell on blank worksheet
Rename sheets if you want
Under Tools, click Macro – Record
Name should be Auto_open
Copy data from sheet2 to sheet1
Do formatting (bold, underline, cell shading, cell sizes, etc.)
Stop Recording
Delete the data from sheet1
Save as mht file (i.e. tempx.mht)

Upload mht file to your MVS PDS, PIA.IA0033LF.XLS.MHT, and name it what you saved your Excel file as (i.e. TEMPX).

In your fex, change MHT to TEMPX:

ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'TEMPX' SHEETNUMBER 2


7.6.11 on Win 2003/IIS 6/Apache Tomcat 5.5 - MRE, ReportCaster
Reporting Server z/OS 1.11, PDS Unified
Excel, PDF, HTML
 
Posts: 7 | Registered: December 28, 2005Report This Post
<JG>
posted
Dan,

The template file should be a member of a PDS
allocated to the DDNAME of MHT.
It is not a sequential file.
 
Report 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     [CLOSED] Need to execute a MVS Procedure and Call Excel Template

Copyright © 1996-2020 Information Builders