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.
FSCALVAL & FSREPVAL are the same value in the IMS database.
WebFOCUS report code
DEFINE FILE CN778DBD TESTVAL/D12.4=EDIT( CN778DBD.FSDATART.FSREPVAL ); <---- attempt to format the value END TABLE FILE CN778DBD PRINT CN778DBD.FSDATART.FSCALVAL CN778DBD.FSDATART.FSREPVAL CN778DBD.FSDATART.TESTVAL WHERE RECORDLIMIT EQ 10
When we used the IMS Adapter for z/OS, we would set SUFFIX=IMS.
If you are using another way to get to IMS (IWAY), I wouldn't necessarly change the SUFFIX then.
If the issue is that the way your are connecting doesn't support zoned decimal formats in the master, then maybe consider defining them as A16, as you have, and then converting them.
Something like:
DEFINE FILE CAR
FSMANVAL/A16 WITH COUNTRY = '000000000174000{';
FIRST15/A15 = SUBSTR(16, FSMANVAL, 1, 15, 15, 'A15');
LAST1/A1 = SUBSTR(16, FSMANVAL, 16, 16, 1, 'A1');
LASTVAL/A1 = DECODE LAST1 ('{' '0'
'A' '1');
FSMANVALNEW/A16 = FIRST15 | LASTVAL;
FSMANVALOUT/D16.4 = ATODBL(FSMANVALNEW, '16', FSMANVALOUT) / 10000;
END
TABLE FILE CAR
PRINT
COUNTRY
FSMANVAL
FSMANVALOUT
IF RECORDLIMIT EQ 1
ON TABLE SET ONLINE-FMT STANDARD
END
COUNTRY FSMANVAL FSMANVALOUT
------- -------- -----------
ENGLAND 000000000174000{ 174.0000
I am only converting the '{' and 'A', you can add the other characters, if you think this is worth trying.