Results 1 to 1 of 1

Thread: DB2 on Mainframe

  1. #1
    Costi Zaboura is offline World Wide Support Manager
    Join Date
    Aug 2006
    Posts
    297
    Rep Power
    6

    Default DB2 on Mainframe

    Working with two DB2 subsystems on the Mainframe

    DESCRIPTION
    Working with two different DB2 subsystems on the mainframe


    SOLUTION
    You must have two datasources, one for e.g DB2T should be used when working with the DB2T subsystem and the DB2P should be used when working with the DB2S subsystem:
    • <DATASOURCE type="DB2mfcli" transactionType="1PC" owner="NAV" name="DB2T">
    • <DATASOURCE type="DB2mfcli" transactionType="1PC" owner="NAV" name="DB2P">
    Add two workspaces as follows:
    • A workpspace called TEST that is using the ATTSRVR server which points to the odbcinit member (pointing to DB2T subsystem) :

      <WORKSPACE name="TEST" startupScript="ATTSRVR.XY" description="Attunity Connect Server" etc... serverMode="reusable">
    • a workspace called PROD that is using the ATPSRVR server which points to the odbcinip member ( pointing to DB2S subsystem):

      <WORKSPACE name="PROD" startupScript="ATPSRVR.XY" description="Attunity Connect Server" serverMode="reusable" etc..>
    On the PC side you will have two DataSources DB2T and DB2P that point to the ones defined on the mainframe:
    1. <DATASOURCE type="REMOTE" name="DB2T" connect="MVSTEST">
    2. <DATASOURCE type="REMOTE" name="DB2P" connect="MVSPROD">
    And two remote machines where each one points to the relevant workspace:
    1. <REMOTEMACHINE name="MVSTEST" workspace="TEST" port="2551" address="IP_address">
    2. <REMOTEMACHINE name="MVSPROD" workspace="PROD" port="2551" address="IP_address">
    odbcinip and odbcinit - both members need to be copied to HLQ.userlib (HLQ: high level qualifier where Attunity Connect is being installed)
    1. odbcinit ----includes the definition of the DB2T subsystem MVSDEFAULTSSID=DB2T ; Example SUBSYSTEM odbcini for DSN1 subsystem DB2T ;MVSATTACHTYPE=CAF
    2. odbcinip---- includes the definition of the DB2S subsystem MVSDEFAULTSSID=DB2S ; Example SUBSYSTEM odbcini for DSN1 subsystem DB2S¨ ;MVSATTACHTYPE=CAF
    ATTSRVR modifed to point to odbcinit 000021 //DSNAOINI DD DSN=HLQ.USERLIB(ODBCINIT),DISP=SHR
    ATPSRVR - modified to point to odbcinip 000021 //DSNAOINI DD DSN=HLQ.USERLIB(ODBCINIP),DISP=SHR
    BOTH should be copied to the user PROCLIB and should be given the right permission in your security manager (e.g RACF) as described in the doc (post-installation requirements)
    Last edited by Admin; 09-28-2006 at 04:02 AM.
    To Find Out more About Attunity Technology:
    Attunity
    or:
    Contact Us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HOW TO: Troubleshoot DB2 CDC on the Mainframe
    By Adeeb Mass'ad in forum Change data capture-CDC for DB2
    Replies: 0
    Last Post: 09-11-2006, 08:05 AM
  2. run NAVUTIL by JCL on Mainframe
    By John Wang in forum Mainframe System Integration
    Replies: 0
    Last Post: 09-08-2006, 03:32 AM
  3. ALpha VMS RDB 2PC
    By Costi Zaboura in forum OpenVMS Modernization
    Replies: 0
    Last Post: 09-04-2006, 07:39 AM
  4. J0014 is being returned when working with JDBC accessing ADABAS
    By Costi Zaboura in forum JDBC for Adabas
    Replies: 0
    Last Post: 08-29-2006, 05:28 AM
  5. How To: Create ODBC and ACX client programs from mainframe PL1 code
    By Costi Zaboura in forum Mainframe Data Access
    Replies: 0
    Last Post: 08-23-2006, 09:21 AM

Posting Permissions

  • You may not post new threads
  • You may not 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 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243