Deploying a Db2 PL stored procedure on the production server

Ask a Question related to IBM DB2, Design and Development.

  1. #1

    Default Deploying a Db2 PL stored procedure on the production server

    We are setting up a DB2 (UDB 8.1) environment.
    I need some guidance to set up the development and deployment process.

    Lets say I have a development server A and a production server B.

    We do all the DB2 PL stored procedures development on the server A
    which is running windows 2000.
    Hence we have installed the Visual C++ complier to complie the stored
    procedures.

    Can I deploy/move those stored procedures from SERVER A to SERVER B
    with out recompiling it on server B.

    Our operations team is very much against installing a C/C++ complier
    on production SERVER B.

    How do we go about doing this whereby we would be able to develop the
    stored procedures on server A
    and then deploy it on SERVER B.

    We do not have the option of using JAVA stored procedures.

    Any help in this matter is very well appreciated.

    Thanks
    -Soumil
    [email]soumil@hotmail.com[/email]
    soumil Guest

  2. Similar Questions and Discussions

    1. SQL Server Stored Procedure Authentication
      Hello, I am tyring to add a level of security to my application with using a username and password to authenticate to the database with when...
    2. RecordCount with Stored Procedure in SQL Server
      Hi everyone, I have noticed that if I used a stored procedure to populate an ADO RecordSet it only returns a .RecordCount property if that stored...
    3. Legacy ASP, SQL Server, Paging Stored Procedure - resend
      I'm not sure if this made it so I'm resending it (with correction): This is the best I could come up with. The only other solutions I could think...
    4. deploying from Windows 2003 staging server to remote production server
      What do you guys use to deploy from your staging servers to your remote production servers in team environments? Normally I FTP the files myself,...
    5. Stored procedure help, makes server jump to 100%
      Hello, we have a users table with the following fields: client_id varchar 20 counter1 int counter2 int .. .. .. counter50 int
  3. #2

    Default Re: Deploying a Db2 PL stored procedure on the production server

    You can use the GETROUTINE/PUTROUTINE commands to deploy only the
    executables ... HOWEVER ... both source and target machines must be at the
    same os level and db2level.

    Larry Edelstein

    soumil wrote:
    > We are setting up a DB2 (UDB 8.1) environment.
    > I need some guidance to set up the development and deployment process.
    >
    > Lets say I have a development server A and a production server B.
    >
    > We do all the DB2 PL stored procedures development on the server A
    > which is running windows 2000.
    > Hence we have installed the Visual C++ complier to complie the stored
    > procedures.
    >
    > Can I deploy/move those stored procedures from SERVER A to SERVER B
    > with out recompiling it on server B.
    >
    > Our operations team is very much against installing a C/C++ complier
    > on production SERVER B.
    >
    > How do we go about doing this whereby we would be able to develop the
    > stored procedures on server A
    > and then deploy it on SERVER B.
    >
    > We do not have the option of using JAVA stored procedures.
    >
    > Any help in this matter is very well appreciated.
    >
    > Thanks
    > -Soumil
    > [email]soumil@hotmail.com[/email]
    Larry Guest

  4. #3

    Default Re: Deploying a Db2 PL stored procedure on the production server

    Larry,

    Were the OS level and DB2 level requirements you mentioned added as of
    v8? With v7 on Win2k, I can use GET/PUT ROUTINE freely across DB2
    instances running at Fixpak 5 or greater.

    -- Scott Sobotka

    Larry wrote:
    >You can use the GETROUTINE/PUTROUTINE commands to deploy only the
    >executables ... HOWEVER ... both source and target machines must be at the
    >same os level and db2level.
    >
    >Larry Edelstein
    >
    >soumil wrote:
    >
    >
    >
    >>We are setting up a DB2 (UDB 8.1) environment.
    >>I need some guidance to set up the development and deployment process.
    >>
    >>Lets say I have a development server A and a production server B.
    >>
    >>We do all the DB2 PL stored procedures development on the server A
    >>which is running windows 2000.
    >>Hence we have installed the Visual C++ complier to complie the stored
    >>procedures.
    >>
    >>Can I deploy/move those stored procedures from SERVER A to SERVER B
    >>with out recompiling it on server B.
    >>
    >>Our operations team is very much against installing a C/C++ complier
    >>on production SERVER B.
    >>
    >>How do we go about doing this whereby we would be able to develop the
    >>stored procedures on server A
    >>and then deploy it on SERVER B.
    >>
    >>We do not have the option of using JAVA stored procedures.
    >>
    >>Any help in this matter is very well appreciated.
    >>
    >>Thanks
    >>-Soumil
    >>soumil@hotmail.com
    >>
    >>
    >
    >
    >
    Scott Sobotka Guest

  5. #4

    Default Re: Deploying a Db2 PL stored procedure on the production server

    FWIW I'm not aware of such strict limitations.
    Given that DB2 zips up an executable it the OS better be byte-compatible.
    You definitely can ship across different FP levels and it could imagine it works from V7 to V8 as well.

    Cheers
    Serge

    PS: Isn't it nice of IE to warn me I'm sending HTML but not give me a choice to switch back to text????
    Serge Rielau Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139