Manoj Chaurasia Posted December 11, 2020 Posted December 11, 2020 Rajesh Your code works fine with version 8.2.06 but fails for me with 8.2.07 with the same error. Please open a case with techsupport.
VisuaLizeFOCUS . Posted December 11, 2020 Author Posted December 11, 2020 Yeah I checked that later in the evening. This is so strange. I have opened a case with IBI. Will post what was the issue with Reporting Server Thanks
VisuaLizeFOCUS . Posted December 11, 2020 Author Posted December 11, 2020 Hi Guys, Is it possible to have Data Profiling done using FEX code I used the below code but is returning error : Code used: PROFDATA CAR HOLD FORMAT ALPHA AS TST TABLE FILE TST PRINT * END Error Received: Reporting Server Error Reporting Server Error 40000 I know Data Profiling is available in Reporting Server, can we have the same kind of report using FEX Code inside a procedure so that we can play around with it on a dashboard. WebFOCUS Version: 8207.06 Thanks in advance!!!
Pawan Vuppala Posted December 14, 2020 Posted December 14, 2020 rajesh.singh.negi: PROFDATA CAR HOLD FORMAT ALPHA AS TST TABLE FILE TST PRINT * END Had no idea about PROFDATA command, good to know but it better work
VisuaLizeFOCUS . Posted December 17, 2020 Author Posted December 17, 2020 Opened a case with IBI. It seems like it is working for them, IBI Programming team is looking into this issue. Will keep you guys updated.
Franciscus van Dortmont Posted January 8, 2021 Posted January 8, 2021 Try PROFDATA CAR,,,BRIEF HOLD AS TST TABLE FILE TST PRINT * END You wont get MODE and MEDIAN value with this, but works a lot faster
VisuaLizeFOCUS . Posted January 8, 2021 Author Posted January 8, 2021 Hi Frans, Thanks for your reply. I tried this code too but the problem is PROFDATA CAR works fine but it dosent hold the data and returns REPORTING SERVER ERROR 40000. But this is working in older version of WebFOCUS. I am running this code on WebFOCUS 8207 version. Let me know if you are running this code in same version. Thanks
NYCBabak . Posted January 8, 2021 Posted January 8, 2021 Have you tried this code on the Reporting Server side instead of the WebFOCUS side It seems to work when you create the fex on the app directory.
VisuaLizeFOCUS . Posted January 8, 2021 Author Posted January 8, 2021 It works on Server side but it fails to hold the data. Again giving REPORTING SERVER ERROR 40000. I am using WebFOCUS version 8207.
Franciscus van Dortmont Posted January 8, 2021 Posted January 8, 2021 Did you try my example In my example it holds the data in file TST.
NYCBabak . Posted January 8, 2021 Posted January 8, 2021 I tested wf_retail with the original code and it does in fact hold the tst file and it returns a report but only if I run it on the reporting server. I wonder if the size of the underlying table has anything to do with the error youre getting.
VisuaLizeFOCUS . Posted January 9, 2021 Author Posted January 9, 2021 Frans I tried that code already. Thanks
VisuaLizeFOCUS . Posted January 9, 2021 Author Posted January 9, 2021 As per IBI this should not be happening and they are looking into it.
Pawan Vuppala Posted January 12, 2021 Posted January 12, 2021 Pretty neat! Thanks for sharing!! frans: PROFDATA CAR,BRIEF HOLD AS TST TABLE FILE TST PRINT * END
John Gelona Posted November 22, 2021 Posted November 22, 2021 Ive been using the FOCUS languare since 1985. I dont ever use HOLD FORMAT ALPHA, have you tries to SET HOLDFORMAT ALPHA before your PROFDATA statement
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now