The problem could be caused by Cognos 8 optimisation to remove unused items from the query. To fix, try the following:
1. select the List object in the Properties pane
2. In the Data section, click ... next to Properties
3. Click the query item A then click ok
The problem should be fixed then...
Assume you are using Cognos 8. To reference a prompt, you need to put ? before and after the prompt name. So if your prompt is called for example param_option, then it will look like this: ?param_option?.
Check if your email address is set correctly in your login account used for authentication (check with your network admin if you use AD for example). Otherwise Cognos will use the default email address. Also make sure you are the owner of the Event Studio agent.
Try the following option:
1. First create the following query item (say Filter1):
CASE
WHEN (?Option? = 'Short Term' AND Payment Date between today & nextyear same day) THEN (1)
WHEN (?Option? = 'Long Term' AND Payment Date greater than nextyear same day) THEN (1)
WHEN (?Option? = 'Both'...
You need to look at the Mid Function/Statement in the documentation "Macros and the CognosScript Language" to remove the quotation mark from the line before writing it to a file.
One option is: using UDF (User-Defined Function). Check out this document "How To Create User-Defined Functions".
First you need to create a function in your database to return the number of weekdays only. Then follow the instructions in the above document to make the database function visible...
Try to add a second filter with the "maximum ... for" function like the following:
transaction_date = maximum(transaction_date) for employee_number
This should work in both Impromptu and Report Studio.
Have you tried to modify the query item that is used as the crosstab measure? Change it to something like:
Case
when (row = 'Z' and col = 'B') then your calculation expression
else normal
End
You might want to try this option: Use 2 lists, instead of 1, and create the total line manually. The first list uses a new query with the filter to remove the "All" and the second list uses the existing query just to return the total line. Make sure you remove un-used query items from the query...
The Excel output file is saved with MHT extension, instead of XLS. Thus you need to add a section in the script to rename the extension to XLS. The sample section below is written in VBScript where strFileExt will be later used to rename the output file.
If UCase(strFileExt) = "MHT" Then...
Hi Vinod,
If saving report outputs in a file system (instead of in Content Store) is an option you are looking for, then it is possible to save all scheduled reports in the naming convention you mention (reportname_date).
First you need to set the option "Save report outputs..." to True in...
If you use Cognos 8, and have access to Cognos KB, try to search for HTML and Javascript keywords. There are many documents telling you how to set default values for many prompt types. You need to know a bit of JavaScript to customize the sample script to fit your report.
After speaking with my ISP regarding the IP address, I have configured my modem to use NAT. This also changes the lease time from 1 minute to 3 days. Thus the disconnection problem goes away.
Thanks a lot for all your help.
Hi Bob,
I currently have the following problem. Please see "Citrix Secure Access VPN keeps disconnecting on DSL" in this forum.
I wonder if you can tell me how I can do similar thing to "uncheck 'Use default gateway on Remote Network' on VPN connection" in Citrix Secure Access.
Thanks.
That is not my modem model.
Before I try a router to give my pc a fixed IP, do you think if my ISP could increase the interval from 1 minute to 1 or 2 hours, or more, that will temporarily fix the problem?
But why are all traffic forced onto VPN? Is there something locally I can check?
I used to use Smartpass. I no longer have it on my pc because it is replaced by Citrix now. I already tried uninstalling and reinstalling Citrix Secure
Access when the problem first happened. So far IT have no idea because other people do not have the same problem as myself.
Yes, I agree, it...
It is a D-Link Ethernet and USB modem. I called my ISP and they said it could be a problem with the VPN client, Citrix Secure Access and not their problem.
Keep in mind that when I get onto the Internet alone, there is no disconnection issue. The problem only happens when I connect to VPN. I...
I think as a DSL customer, changing a dynamic IP address to a fixed IP is not what my ISP recommends. But I did try applying your method, but an error occurs saying something like "the combination of IP address and subnet mask is invalid.... ". Also I do not have a router, just a DSL modem.
I have tried disabling the Firewall and VPN still disconnects.
I suspect there is some conflict in the IP address but I am not an expert in this area. What I found is while VPN connects, in Windows Event Viewer, System log, it shows repeatedly the following Warning every minute:
"Your...
My setup is very similar to the document, except that I use Symantec Client Firewall, instead of Windows Firewall. My system admin did not require that I had to do anything specific regarding the IP range (as in step 10d.). Thus I do not know what IP range to enter here. Do I have to do that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.