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.
When I am holding a file while changing a fieldname via ASNAMES in mixed case, the holdmast moves it to upper case. Is there a magic switch that keeps the MY fieldname case intact?
code: SET ASNAMES=ON
TABLE FILE CAR PRINT CAR AS MyCar ON TABLE HOLD AS MYHOLD END
The holdmast shows only MYCAR and not MyCar.
Thanks, Shawn
v767 on windowsThis message has been edited. Last edited by: Kerry,
DEFINE FILE CAR
Profit/D12=RCOST-DCOST;
END
TABLE FILE CAR
SUM SALES Profit
BY COUNTRY
ON TABLE HOLD FORMAT ALPHA
END
-RUN
? HOLD HOLD
TABLE FILE HOLD
PRINT *
END
Here is part of the documentation on ASNAMES. I personally don't use mixed case field names.
quote:
Reference: Usage Notes for Controlling Field Names in HOLD Files If no AS phrase is specified for a field, the field name from the original Master File is used. The TITLE attribute specified in the Master File is not used unless SET HOLDATTR was previously issued. To ensure that fields referenced more than once in a request have unique names in the HOLD Master File, use SET ASNAMES. All characters are converted to uppercase. Special characters and blanks used in the AS phrase are preserved in the field name that is created when SET ASNAMES is used. Use single quotation marks around the non-standard field names when referring to them in the newly created Master File. Text specified in an AS phrase that contains more than 66 characters is truncated to 66 characters in the Master File. Aliases are not carried over into the HOLD Master File. A new set of aliases is supplied automatically. These aliases are named E01 for the first field, E02 for the second, and so forth. Duplicate field names may occur in the newly created Master File as a result of truncation or the way AS phrases have been specified. In this case, refer to the fields by their aliases (E01, E02, and so forth).
Thanks Ginny... Where did you find that info? After doing many searches on case, fieldname, and asnames I gave up. I don't usually use mixed case either, however I am following the tradition here. Some wise-guy thought using mixed case was more friendly to the adhoc users... while forgetting about the developers.