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.
If I pass lower case, the report doesn’t work. Is there anycode where it will ignore if I put lowercase instead of Uppercase. Here is my code: -DEFAULT &p_Covertype = ' a'; VARTYPE CHECK = A = AssistedLivingCare B = BusinessProperty C = GreenwiseUpgrade so on... -IF &p_Covertype NE 'A' THEN GOTO SKIP_A; Alc Atc -GOTO Done; -SKIP_A; -IF &p_Covertype NE 'B' THEN GOTO SKIP_B; Bpa Bpaa Bpt -SKIP_B; Done;This message has been edited. Last edited by: <Emily McAllister>,
Originally posted by Ricardo Augusto: N/A you are a GOTO lover!
Thanks. I want even if I put A or a it should work. The code is working fine if I put UPPER CASE A,B,C etc. But instead of uppercase if I put a or b it does not work. My question: if there are any code which can ignore a or A. Even if I put a it should work.
IF UPCASE(&p_Covertype) NE 'A' THEN GOTO SKIP_ALC; ALCC ACTP -GOTO DWCTC; -SKIP_ALC; -IF UPCASE(&p_Covertype) NE 'B' THEN GOTO SKIP_BP; BPC BPCA -SKIP_BP; -Done;
error; FOCUS FUNCTION HAS INCORRECT NUMBER OF ARGUMENTS: UPCASE
Thnaks. code: -DEFAULT &p_Covertype ='C'; or c anything
VARTYPE CHECK = A = AssistedLivingCare B = BusinessProperty C = GreenwiseUpgrade D = HomeUnitAsseseement E = HomeAssociationPolDedAssessment so on....... IF UPCASE(1,&p_Covertype,'A1') NE 'A' THEN GOTO SKIP_ALC; ........ -IF UPCASE(1,&p_Covertype,'B1') NE 'B' THEN GOTO SKIP_BP; .......... -IF UPCASE(1,&p_Covertype,'C1') NE 'C' THEN GOTO SKIP_GWU; .......... -IF UPCASE(1,&p_Covertype,'D1') NE 'D' THEN GOTO SKIP_HUA; ........... -IF UPCASE(1,&p_Covertype,'E1') NE 'E' THEN GOTO SKIP_HPDA; ........
note: A or a, B or b, C or c working well......from D on wards not working
Syntax: How to Convert Text to Uppercase
UPCASE(length, source_string, output)
where:
length
Integer
Is the number of characters in source_string and output.
input
Alphanumeric
Is the string to convert.
output
Alphanumeric of type AnV or An
If the format of the output_format is AnV, then the length returned is equal to the smaller of the source_string length and the upper_limit length.
The last parameter is the format of the output in single quotes. In your case it'll always be A1.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015