Odbc connection string format, not finding files

前端 未结 3 880
心在旅途
心在旅途 2021-01-19 16:54

This is kind of a \'double\' question that might have a single answer.

I\'m working with an Odbc Connection with an AS/400, with my connection string as follows:

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-19 17:22

    An alternative is to set up a separate user profile for each environment. Since the *USRLIBL is set by the job description, this would entail setting up a separate job description as well. For example:

    user: WEB job desc: WEB library list: CUSTPROD, ITEMPROD, UTILITY

    user: WEBTEST job desc: WEBTEST library list: CUSTTEST, ITEMTEST, UTILITY

    The C# code does not change except for using the test or production user ID to authenticate.

提交回复
热议问题