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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
FOC3209
 Login/Join
 
<NIVAS>
posted
Hi
i have problems with stylesheet when i am sorting on report fields,Help if u have any idea about this error
This is the fex i am calling from self service app

-DEFAULTS &FMT ='HTML';
-DEFAULTS &DELEGATE_ID = 999999 ;
SET MSG=ON
-IF 0 NE 0 GOTO GOT_SUPR;
-SET &DIRSUPR = ' ';
-GOT_SUPR
-IF 0 NE 0 GOTO GOT_INDSUP;
-SET &INDIRSUP = ' ';
-GOT_INDSUP
-SET &RPT_EMPLID =
- IF NE ' ' THEN ELSE
- IF NE ' ' THEN ELSE '128297';
-* IF &INDIRSUP NE ' ' THEN &INDIRSUP ELSE &EMPLID -*PRODUCTION VERSION;
-* THIS IS FOR TESTING
-RUN
-SET &XXX = 128297;
SQL SQLORA SET SERVER HR_T831
SQL SQLORA
SELECT B.VC_PLAN_ID,
SUBSTR(A.DEPTID,1,3) DEPTID,
A.HIG_DESCR_DEPTID,
A.NAME1 SUPERVISOR_NAME,
A.SUPERVISOR_ID,
A.EMPLID,
A.NAME,
A.GRADE,
B.HIG_ELIG_EARNINGS,
B.HIG_TIER_FACTOR,
B.VC_PCT_ATTAINED,
B.VC_CALC_AWARD,
B.VC_ACTUAL_AWD_AMT,
B.HIG_PCT_OF_TARGET
FROM PS_HIG_CURR_JOB_VW A,
PS_HIG_VC_R_DTL_VW B
WHERE A.EMPLID = B.EMPLID
AND B.EMPLID IN (
SELECT EMPLID FROM PS_HIG_SUPR_EMPL WHERE EMPLID <> SUPERVISOR_ID
CONNECT BY PRIOR EMPLID = SUPERVISOR_ID START WITH SUPERVISOR_ID = '128297');
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS VCDTLALL
END
-INCLUDE SUPRNAME
-*DEFAULT &EMPLID='135473'
SQL SQLORA SET SERVER HR_T831
SQL SQLORA
SELECT A.SUPERVISOR_ID
, B.NAME
FROM PS_HIG_SUPR_EMPL A
, PS_PERSON_NAME B
WHERE B.EMPLID = A.SUPERVISOR_ID
AND A.SUPERVISOR_ID='128297' ;
TABLE FILE SQLOUT
SUM FST.E02
BY E01 NOPRINT
IF RECORDLIMIT IS 1
ON TABLE SAVE
END
-RUN
0 NUMBER OF RECORDS IN TABLE= 89 LINES= 89

0 NUMBER OF RECORDS IN TABLE= 1 LINES= 1


ALPHANUMERIC RECORD NAMED SAVE
0 FIELDNAME ALIAS FORMAT LENGTH

NAME E02 A50 50

TOTAL 50
-READ SAVE &MNAM.A50.
-IF Jw128297,Pat E. GT ' ' THEN GOTO GOT_DATA;
-GOT_DATA
-DEFAULTS &SORTCOL = 1;
-SET &SORTFLD = DECODE 1(1 'VC_PLAN_ID',
-2 'DEPTID',
-3 'SUPERVISOR_NAME',
-4 'HIG_DESCR_DEPTID,
-5 'EMPLID',
-6 'NAME');
-SET &SORTAS = DECODE 1(1 'BONUS,PLAN',
-2 'DEPTID',
-3 'SUPERVISIOR,NAME',
-4 'DEPARTMENT,NAME',
-5 'EMPLID',
-6 'NAME');
-DEFAULTS &ORDER=' '
TABLE FILE VCDTLALL
PRINT
VC_PLAN_ID AS 'BONUS,PLAN'
DEPTID AS 'DEPTID'
-IF GT ' ' THEN GOTO LABEL1 ;
SUPERVISOR_NAME AS 'SUPERVISIOR,NAME'
-LABEL1
HIG_DESCR_DEPTID AS 'DEPARTMENT,NAME'
EMPLID AS 'EMPLID'
NAME AS 'NAME'
GRADE AS 'TIER'
HIG_ELIG_EARNINGS/P12.2M AS 'ELIGIBLE,EARNINGS'
HIG_PCT_OF_TARGET/P12.2% AS 'BONUS,TGT%'
VC_CALC_AWARD/P16.2M AS 'CALUCATED,AWARD'
VC_ACTUAL_AWD_AMT/P16.2M AS 'ACTUAL,AWARD'
HIG_PCT_OF_TARGET/P12.2% AS 'ACTUAL'
-* BY &ORDER &SORTFLD NOPRINT
BY VC_PLAN_ID AS 'BONUS,PLAN' SUMMARIZE NOPRINT
HEADING
"2004 ANNUAL BONUS DETAIL REPORT"
"MANAGER: Jw128297,Pat E. "
ON TABLE SET BYDISPLAY OFF
ON TABLE NOTOTAL
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR=BLACK,
BACKCOLOR=NONE,
STYLE=NORMAL,
$
TYPE=TITLE,
COLUMN=P2,
FOCEXEC=VCDTLALL(SORTCOL=2 DELEGATE_ID='128297' DIRSUPR=' ' INDIRSUP=' ' FMT='HTML' ),
$
TYPE=TITLE,
COLUMN=P3,
FOCEXEC=VCDTLALL(SORTCOL=3 DELEGATE_ID='128297' DIRSUPR=' ' INDIRSUP=' ' FMT='HTML' ),
$
ENDSTYLE
ON TABLE PCHOLD FORMAT HTML
END
(FOC3209) UNKNOWN KEYWORD IN STYLESHEET FILE AT LINE: 21 NONE
 
Report This Post
<mhuber>
posted
It appears that WebFOCUS can't figure out what the word NONE means.

In your TYPE=REPORT stylesheet section, try changing NONE to 'NONE' ... if that doesn't work, try 'WHITE' instead.

That line should look like:
BACKCOLOR='NONE',

I hope this helps.
-Michael
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders