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.
-* CR 1087: C.S.V. report must be always printed -* but the regular layout is only by request. -SET NO_REP = FGETENV(10,'REPORT_IND',1,'A1'); -SET NO_REPORT=IF &NO_REP EQ 'Y' THEN 0 ELSE 1;
-* -SET &REPCODE='ARIC-01-DET'; -SET &REPNAME='I M M E D I A T E C H A R G E S - D E T A I L E D R E P O R T'; -* FILEDEF OFFLINE DISK &&REP_FILE OFFLINE -INCLUDE gnrpdef.fex -* FILEDEF ARIC01 DISK &EXT_FILE (RECFM F LRECL 296 -* EX apcon -RUN -IF &FOCERRNUM NE 0 GOTO ERR; -* DEFINE FILE M_PRODCT PRODSDESC/A10 = ''''|SHORT_DESC|''''; SPACE1/A2 = ' '; PRODTYPE/A3= ''''|PRODUCT_TYPE|''''; END -* TABLE FILE M_PRODCT PRINT PRODTYPE SPACE1 PRODSDESC ON TABLE SAVE AS PROSAVE END -* -RUN -IF &FOCERRNUM NE 0 GOTO ERR; -* DEFINE FILE M_MARKET MKTNAME/A32 = ''''|MARKET_NAME|''''; SPACE2/A2 = ' '; MKTCODE/A5 = ''''|MARKET_CODE|''''; END -* TABLE FILE M_MARKET PRINT MKTCODE SPACE2 MKTNAME ON TABLE SAVE AS MKTSAVE END -* -RUN -IF &FOCERRNUM NE 0 GOTO ERR; -* EX dbdis -RUN -IF &FOCERRNUM NE 0 GOTO ERR; -* DEFINE FILE ARIC01 LASTROW/A1=' '; ACTV_AMT/P12.2CS = ACTV_AMT; PRO_DCD/A8=DECODE PRO_TYPE(PROSAVE); PRO_DCD1/A8=IF PRO_DCD EQ ' ' THEN PRO_TYPE ELSE PRO_DCD; RSUB_NO/A10=RJUST(10,SUB_NO,'A10'); PHONE_NO/A12 =IF EDIT (RSUB_NO,'9999999999') NE ' ' THEN RSUB_NO ELSE ' '; FULL_BAN/I9L=BAN; -*SET &DIVYABAN = &FULL_BAN; -*PRINT DIVYABAN111 AS &DIVYABAN TAXES/P12.2CS=FED_AMT+ROA_AMT+CIT_AMT+COU_AMT+STA_AMT+MIS_AMT +MIS_AMT1; CHG_CODE/A10 = IF FEA_CODE NE ' ' THEN FEA_CODE||'-'||REV_CODE ELSE REV_CODE; OPER_ID/I10S=OPE_ID;
MKT/A32=DECODE MAR_CD(MKTSAVE); MKT_DESC/A32=IF MKT EQ ' ' THEN MAR_CD ELSE MKT; -* CNN_CD/A4=CNN_CD; -* END -* -RUN -IF &FOCERRNUM NE 0 GOTO ERR; -*
FULL_BAN AS 'BAN ' IN 1 PHONE_NO AS 'Subscriber,Number ' IN 19 CNN_CD AS 'Sales ,Channel' IN 36 SOC AS 'SOC/PP ' IN 50 OPER_ID AS 'Operator,ID ' IN 62 ACTV_AMT AS 'Charge,Amount ' IN 74 TAXES AS 'Taxes,Amount ' IN 90 BY LASTROW NOPRINT BY BUS_ENTI NOPRINT BY MKT_DESC NOPRINT BY ACC_TYPE NOPRINT BY FEA_CODE NOPRINT BY PRO_TYPE NOPRINT BY BAN NOPRINT BY SUB_NO NOPRINT BY SOC NOPRINT -* ON BUS_ENTI PAGE-BREAK ON BUS_ENTI SUBFOOT "Business Entity <38 Totals :<74 <90 "
ON MKT_DESC PAGE-BREAK ON MKT_DESC SUBFOOT
"Sub-Market <38 Totals :<74 <90 "
ON ACC_TYPE PAGE-BREAK ON ACC_TYPE SUBFOOT "Account Type <38 Totals :<74 <90 "
ON FEA_CODE PAGE-BREAK ON FEA_CODE SUBFOOT "Charge Code <38 Totals :<74 <90 "
ON PRO_TYPE PAGE-BREAK ON PRO_TYPE SUBFOOT " <76 ------------ <92 ------------" "Product Type <38 Totals :<74 <90 "
Like MartinY says, you should try to find out what part of the code is triggering this by adding a -EXIT to the first portion, and run the code and move the -EXIT further down until you find what triggers the problem. Once you do, add
-SET &ECHO=ALL
to the beginning of the code and run it again. That will show you what WF is actually running with all the substitutions done. That should give you a pretty good idea of what's missing in the code that has to be fixed.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015