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.
DEFINE FILE DB2_LICENSE_XFOC ADD DB2_HAS_ICN/A3 = IF TX_ICN NE '' THEN 'Yes' ELSE 'No'; DRIVERS_LICENSE_CLASS/A30V = IF TX_LIC_CLAS EQ 'A' THEN 'Drivers_License' ELSE IF TX_LIC_CLAS EQ 'B' THEN 'Drivers_License' ELSE IF TX_LIC_CLAS EQ 'C' THEN 'Drivers_License' ELSE IF TX_LIC_CLAS EQ 'M' THEN 'Motorcycle_License' ELSE IF TX_LIC_CLAS EQ 'I' THEN 'ID_Card' ELSE IF TX_LIC_CLAS EQ 'K' THEN 'Moped_Permit' ELSE IF TX_LIC_CLAS EQ 'N' THEN 'Learners_Permit' ELSE IF TX_LIC_CLAS EQ 'O' THEN 'Learners_Permit' ELSE IF TX_LIC_CLAS EQ 'P' THEN 'Learners_Permit' ELSE IF TX_LIC_CLAS EQ 'R' THEN 'Learners_Permit_Motorcycle' ELSE 'Unknown'; DRIVERS_LICENSE_TYPE/A30V = IF TP_LIC EQ 'C' THEN 'Correction' ELSE IF TP_LIC EQ 'D' THEN 'Duplicate' ELSE IF TP_LIC EQ 'G' THEN 'Gratis' ELSE IF TP_LIC EQ 'N' THEN 'New' ELSE IF TP_LIC EQ 'R' THEN 'Renewal' ELSE 'Unknown'; Year_Expiring/A4 = EDIT(DT_EXP, '9999'); Month_Expiring/A2 = EDIT(DT_EXP, '$$$$$99'); Date_Recorded/HYYMD = HGETC(8, 'HYYMDS'); RealId_Compliant_Not_Null/A3V = IF REALID_COMPLIANT EQ MISSING THEN 'Unk' ELSE REALID_COMPLIANT; DATE_ISSUED/A10 = DATE_ISSUED; END
The DT_ISS field disappeared after the Define. This is killin' me, because I need the field, and I need the defines. Anyone have any clues?This message has been edited. Last edited by: FP Mod Chuck,
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
I would probably start with a WHENCE MASTER and make sure you are reading the right master file.
HOLD files / FOCUS files don't really have AnV formats. So, I would remove the V's from your defines.
I never like to define a field with the same fieldname. Can the name of DATE_ISSUED be changed.
Or, can you add another define after that last define. Something simple like X/A1 = ' '; because I have previously seen no error message when the last define fails.
WebFocus 7x, 8x, Win / Linux, any output format
Posts: 70 | Location: reading, pa | Registered: April 07, 2007
First of all, I'm not going to reproduce and open a ticket because that's not what gets the job done at my customer. I can't bill them to help IBI fix a problem, and I can't miss deadline.
So if someone has seen this before and has a useful fix I'm all ears, but I can't pursue in a ticket short of burning weekend time for my own devices.
The line assigning DATE_ISSUED the value of DATE_ISSUED in the Define was an attempt to correct this error, was not there when the problem first appeared.
I can remove the variable lengths and will do so.
I can move the APP HOLDMETA and will do so.
There is no prior DEFINE. I put the ADD on in an attempt to solve this problem.
And yes, I found the problem when reporting against the joined tables. The synonym checks are just there to show the effect (originally there to prove I'm not insane when a field I had clearly just added was there one moment, gone the next.)
Anyone panicking that machines are poised to replace humans need merely look at what we all do for a living to sleep soundly tonight.This message has been edited. Last edited by: John_Edwards,
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007