Multiple Environments and Multiple LBI Servers

 4 Replies
 0 Subscribed to this topic
 22 Subscribed to this forum
Sort:
Author
Messages
jellis
Veteran Member
Posts: 54
Veteran Member

    Hi,

    We are running into an interesting dilemma in that we run multiple Lawson environments (20) and multiple LBI servers to service these environments. The dilemma we have run into is that we have the same report, but that it needs to be published using different DSN's many times. Everytime the enviroment changes like right now we are going from LRS to LBI, and later from v8 to v9 of Lawson, we have to change all the DSN's etc.

    What I am curious of is if there is a generic driver or something that can be used in CR and then when the report is published to LBI we can use one of the defined datasources there? Currently the DSN's are defined on the Crystal Reports server using the I-series driver (AS/400). We are using ODBC due to the speed issues of using OLEDB. The Crystal and LBI servers are different boxes.

    Any suggestions around this would be helpeful.

    Thanks.

     

     

    Matthew Nye
    Veteran Member
    Posts: 514
    Veteran Member
      If you could get away from using ODBC this issue would be easily resolved but if i remember correctly thats not an option with the AS400. youll still have to maintain the ODBCs on the server but you can atleast use Override data Sources to easily maintain credentials and db locations in LBI. unfortunately this is probably the only options you have.

      hth
      matt
      If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
      John Henley
      Posts: 3353
        if you use the same name for the ODBC datasource,and same credentials for each environment, doesn't that solve it? The ODBC datasource hides the server/implementation details.
        Thanks for using the LawsonGuru.com forums!
        John
        jellis
        Veteran Member
        Posts: 54
        Veteran Member

          Thanks for your input so far.

          Yes the datasource name is the same across the LBI servers, the problem lies in changing all of the reports to the proper DSN. For instance we have single master report. The problem is that we have to change the DSN and save the report, publish it..20 times. I am trying to find a way to put this into RS so you just choose a dropdown box or something and simplify this. Then a single instance of the report could be published and the end-user could choose their database.

          Matthew Nye
          Veteran Member
          Posts: 514
          Veteran Member
            Well Im not familiar with AS/400 syntax but if you were able to create a user that has access to all 20 DBs, you could then parametrize the database name (in Oracle its Schema Name, in SQL Server it Database, not too sure what he AS/400 equivalent is). Example

            SELECT * FROM {?DatabaseName}.GLNAMES

            would be your Command in Crystal.

            Not sure this solves the initial problem though.
            If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/