Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FOC260 Error

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] FOC260 Error
 Login/Join
 
Member
posted
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 server

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs

 
Posts: 15 | Location: Houston , TX | Registered: May 08, 2012Report This Post
Virtuoso
posted Hide Post
 run_by_fund /A13='&fund_option.(,).Run with funds?.';
payroll_type /A15='&payroll_option.(,,).Select type of payroll.' 


This really worked in the DEFINE? Do you get prompted for it?

This message has been edited. Last edited by: Prarie,
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
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>Wink.Run with funds?.';
payroll_type /A15='&payroll_option.(<Adjustment,Adjustment>,<Original Event,Original Event>,<Both,Both>Wink.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;


WebFOCUS 7.6
Windows, All Outputs

 
Posts: 15 | Location: Houston , TX | Registered: May 08, 2012Report This Post
Virtuoso
posted Hide Post
Please surround your code with CODE tags.

And can you run just the DEFINE setion, with &ECHO=ON, and post the output?
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Guru
posted Hide Post
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;


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Member
posted Hide Post
it has to do with the

* -1

took this out and it doesnt error....the DEFINE editor doesnt even let me do it....

really weird, because I know ive done this before.


WebFOCUS 7.6
Windows, All Outputs

 
Posts: 15 | Location: Houston , TX | Registered: May 08, 2012Report This Post
Expert
posted Hide Post
Do this all the time, BUT, you need to do it this way:

* (-1)


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
this was it! Thanks Tom!

I swear Ive done it without the (), owell it works now!


WebFOCUS 7.6
Windows, All Outputs

 
Posts: 15 | Location: Houston , TX | Registered: May 08, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FOC260 Error

Copyright © 1996-2020 Information Builders