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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Multiple DataSet
 Login/Join
 
Gold member
posted
DATASET Attribute in the .mas file can be used to read the data from specific files mentioned in the DATASET attribute. I would like to know whether we can have multiple file names in the .mas file so that I don't need to do FILEDEF in my program to read from different files.
Say I have three files 0,1,2. Can I define the DATASET to read from these files?

Any help would be great.
 
Posts: 77 | Registered: December 22, 2004Report This Post
Expert
posted Hide Post
I don't think you can specify multiple DSNs in the DATASET attribute. There are, of course, many solutions to what you want to do depending upon the file type, the easiest beiung the USE atatement for FOCUS files.

What type of files and what platform are you using?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Dataset will be from Mainframe system. So Can we say multiple files cannot be mentioned in DATASET attribute in the .mas file. But this can be controlled as part of our code logic. Say after reading from 0, 1 and 2 can be loaded sequentially, not all at time.
 
Posts: 77 | Registered: December 22, 2004Report This Post
Expert
posted Hide Post
I'm glad you said that the DSNs are on mainframe because you can use the DYNAM CONCAT syntax to concatenate them (if they are flat files of course) and use that as your DATASET reference. I don't know if you can use the DYNAM CONCAT within the master (doubt it very much) but you should be able to set it up in your server profiles, fexes or (obviously) your JCL or PROC.

T

This message has been edited. Last edited by: Tony A,



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders