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.
I get this error on my define and Im not really sure why, Im pretty sure this worked before.
0 ERROR AT OR NEAR LINE 28 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC260) AN OPERATION IS MISSING AN ARGUMENT 0 ERROR AT OR NEAR LINE 31 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC260) AN OPERATION IS MISSING AN ARGUMENT 0 ERROR AT OR NEAR LINE 34 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC260) AN OPERATION IS MISSING AN ARGUMENT 0 ERROR AT OR NEAR LINE 37 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC260) AN OPERATION IS MISSING AN ARGUMENT 0 ERROR AT OR NEAR LINE 40 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC258) FIELDNAME OR COMPUTATIONAL ELEMENT NOT RECOGNIZED: Ben64 0 ERROR AT OR NEAR LINE 77 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC003) THE FIELDNAME IS NOT RECOGNIZED: NHRDIST.NHRDIST.Deduction BYPASSING TO END OF COMMAND (FOC009) INCOMPLETE REQUEST STATEMENT
here is the code.
DEFINE FILE NHRDIST run_by_fund /A13='&fund_option.(,).Run with funds?.'; payroll_type /A15='&payroll_option.(,,).Select type of payroll.'; BDCA_Group /A2=EDIT(NHRDIST_BDCA_CODE,'99$'); name/A25=SPRIDEN_LAST_NAME||', '||SPRIDEN_FIRST_NAME; Deduction/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HEEL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HEEL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; Ben64/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; Ben79/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%2' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%2' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; Ben131/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%3' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%3' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; ben_total/D12.2=Ben64 + Ben79 + Ben131; ....
Again, not really sure why this errors...nothing has changed as far as I know, but I dont manage the serverThis message has been edited. Last edited by: Kerry,
let me try this again.....html putting in some weird characters....
DEFINE FILE NHRDIST run_by_fund /A13='&fund_option.(<With Funds,With Funds>,<Without Funds,Without Funds>.Run with funds?.'; payroll_type /A15='&payroll_option.(<Adjustment,Adjustment>,<Original Event,Original Event>,<Both,Both>.Select type of payroll.'; BDCA_Group /A2=EDIT(NHRDIST_BDCA_CODE,'99$'); name/A25=SPRIDEN_LAST_NAME||', '||SPRIDEN_FIRST_NAME; Deduction/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HEEL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HEEL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; Ben64/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; Ben79/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%2' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%2' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; Ben131/D12.2=IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%3' THEN NHRDIST.NHRDIST.NHRDIST_AMT * -1 ELSE IF NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%3' THEN NHRDIST.NHRDIST.NHRDIST_AMT ELSE 0; ben_total/D12.2=Ben64 + Ben79 + Ben131;
You need to wrap things around in parenthesis so you don't get that error. Like this:
Ben64/D12.2=IF (NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'D' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1') THEN (NHRDIST.NHRDIST.NHRDIST_AMT * -1)
ELSE IF (NHRDIST.NHRDIST.NHRDIST_DR_CR_IND EQ 'C' AND NHRDIST.NHRDIST.NHRDIST_RUCL_CODE EQ 'HERL' AND NHRDIST.NHRDIST.NHRDIST_BDCA_CODE LIKE 'R%1') THEN NHRDIST.NHRDIST.NHRDIST_AMT
ELSE 0;