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
"SALES BY COUNTRY"
"SOURCE: CAR FILE"
How can I make the filename a variable?
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
It does not really answer your question but it may give you some ideas. (Report painter does not like this.)
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.
|Powered by Social Strata|