Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Printing master file name in header
Go
New
Search
Notify
Tools
Reply
  
Printing master file name in header
 Login/Join
 
Gold member
posted
Does anyone have a trick for printing the master file name in the heading without hardcoding? For example, using the CAR file:

TABLE FILE CAR
SUM SALES
BY COUNTRY
BY CAR
HEADING
"SALES BY COUNTRY"
"SOURCE: CAR FILE"
END

How can I make the filename a variable?
 
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003Reply With QuoteReport This Post
Guru
posted Hide Post
I did this one time when we had to flip between similar MAS files with different names (production vs dev).

-DEFALUT &HOLDFILE = 'CAR';

TABLE FILE &HOLDFILE
SUM RETAIL_COST DEALER_COST
BY COUNTRY
BY CAR
HEADING
"&HOLDFILE"
END

It does not really answer your question but it may give you some ideas. (Report painter does not like this.)
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Reply With QuoteReport This Post
Guru
posted Hide Post
Take a look at WHENCE; it may be helpful.

Where is '-? TSO DDNAME ddname' when you really need it?

Sometimes I use USE for switching between test and prod followed with a ? USE.

Maybe this should be a NFR.
 
Posts: 252 | Location: USA | Registered: April 15, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Printing master file name in header

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.