Cognos Analytics

 View Only
  • 1.  Cognos Schedule Issue

    Posted Sun December 27, 2020 10:23 PM

    There are 2 datasources when we run a cognos report for selection. But only one is to be used which has the required table in that database.When we schedule a cognos job, cognos is picking the first datasource which doesn't have the required table in it. The datasource names are similar with convention and a suffix being attached to second datasource( example  abc, abc_dev) . I have explicitly given the datasource selection in the schedule prompt for values option also. But still when the schedule runs, the picks the first datasource(abc) and throws the error that table is not present in the database. How can we make sure that right datasource is automatically selected during the schedule??



    ------------------------------
    Nagaraju J
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Cognos Schedule Issue

    Posted Mon December 28, 2020 04:06 AM

    Did anybody come across this kind of issue using the multiple datasources with the schedule action?



    ------------------------------
    Nagaraju Janmanchi
    ------------------------------



  • 3.  RE: Cognos Schedule Issue

    Posted Tue December 29, 2020 01:42 AM

    Are you talking about 2 datasources? Or 2 connections in 1 datasource? I suppose the latter! In that case give the user-account, that runs the schedule, only read and execute rights on the wanted connection. You have to give the user-account also traverse rights on both connections, otherwise it fails to run.

    If the issue is 2 datasources, then my guess is that the wrong datasource is hard-coded in the package available, find this in the xml. Has to be fixed in the model.



    ------------------------------
    Paul Peeters
    ------------------------------



  • 4.  RE: Cognos Schedule Issue

    Posted Tue December 29, 2020 02:03 AM

    Thanks Paul for the reply... Sorry, its 2 different connections for one datasource.  But we should use only one connection here which has the required table and data. It has to pick connection abc_sit only.  Is it due to the similar naming connection, it is randomly picking the connection abc??  so do you mean for the connection abc_sit, we need to give read and execute permission only.  As we are not using the other connection,  do we need to make sure these permissions are to be removed?? Please confirm.



    ------------------------------
    Nagaraju Janmanchi
    ------------------------------