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] Reading Multiple GDG's

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Reading Multiple GDG's
 Login/Join
 
Platinum Member
posted
Hello

Is there a way to to read multiple GDG's in Webfocus or Focus.

We have a 30 GDG files of daily history that we want webfocus to be able to read all of them in the same execution of the fex.

Any help would be appreciated.

Thanks

Dan

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


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Expert
posted Hide Post
Mainframe JCL:
 
//DDNAME DD DSN=LEV1.LEV2.LEV3(+0), DISP=SHR
//       DD DSN=LEV1.LEV2.LEV3(-1), DISP=SHR
//       DD DSN=LEV1.LEV2.LEV3(-2), DISP=SHR
//       DD DSN=LEV1.LEV2.LEV3(-3), DISP=SHR
//       DD DSN=LEV1.LEV2.LEV3(-4), DISP=SHR
//       DD DSN=LEV1.LEV2.LEV3(-5), DISP=SHR
//       DD DSN=LEV1.LEV2.LEV3(-6), DISP=SHR
.
.
//       DD DSN=LEV1.LEV2.LEV3(-29), DISP=SHR

Mainframe CLIST:
DYNAM ALLOC DD

There is a chapter in the manual "MVS/TSO Guide to Operations". It has instructions on DYNAM ALLOC, DYNAM CONCAT and other DYNAM commands... Probably in Dev Studio Help, also.

Windows/UNIX:

FILEDEF DDNAME DISK PATH/DSN (LRECL XXX RECFM F/V

OS is not mentioned in your question, but, this "may" lead you to SEARCH on key words and/or documentation...

hth

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Master
posted Hide Post
It has been a while, since I've been on the mainframe, but you might want to take a look at doing a DYNAM ALLOC for each of the GDG datasets, and then a DYNAM CONACT to concatenate the datasets into one DD name.

In cases like this, where I had many generations of data, I would try to dynamically construct my DYNAM ALLOC statements, so I wasn't concatenating any more datasets, than the query needed.

For example, if the current request only needed the last weeks worth of data, the code would only allocate and concatenate the last seven of the daily GDG's.

This message has been edited. Last edited by: David Briars,
 
Posts: 822 | Registered: April 23, 2003Report This Post
Member
posted Hide Post
If you do not designate a generation number on your dataset, it will read all generations.

For z/OS, reads the most current generation:
DYNAM ALLOC FI TEST DS YOUR.DATASET.NAME.HERE(0) SHR REU

Read all generations:
DYNAM ALLOC FI TEST DS YOUR.DATASET.NAME.HERE SHR REU


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
  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] Reading Multiple GDG's

Copyright © 1996-2020 Information Builders