Switch to standard view 
  Sybase logo
 
 
 



 

DirectConnect for DB2/MVS 11.7 - Quick Start Installation

By Malcolm B. Weaver Jr.

 

Introduction:

 

The DirectConnect for DB2/MVS installation procedure has changed from previous versions. The purpose of this document is to provide a quick reference guide to this new installation procedure. This document is not intended to replace the DirectConnect for MVS Installation Guide, Document ID: 34237-01-1111-01, which is distributed with the MainframeConnect Bundle. This document ONLY addresses the steps needed to install the product from the CD-ROM media. It does not cover pre-installation, configuration, connectivity or troubleshooting topics.

 

The document is divided into sections, based on the operating system platform, as follows:

 

Section 1: Installing DirectConnect for DB2/MVS v11.7 on RS/6000 AIX

Section 2: Installing DirectConnect for DB2/MVS v11.7 on Sun Solaris 2.x

Section 3: Installing DirectConnect for DB2/MVS v11.7 on HP 9000(8xx)

Section 4: Installing DirectConnect for DB2/MVS v11.7 on Windows NT

 

Section 1: Installing DirectConnect for DB2/MVS v11.7 on RS/6000 AIX

 

01. connect to aix machine using xterm

02. su root

03. mount /cdrom

04. su sybase

05. cd /cdrom

06. setenv DISPLAY xterm_machine_host_name:0

07. setenv SYBASE /software/sybase/dc117aix

08. setenv LIBPATH $SYBASE/lib:$SYBASE/econnect/lib

09. Execute the sybsetup binary
your $SYBASE directory should be the default in the next screen

10. click Unload Sybase products from CD-ROM or tape
your $SYBASE directory should be the default in the nextscreen

11. click the Continue button
Enter sybimage in the "Enter the name of the CD-ROM image from which..."

12. sybimage

13. click the Continue button

14. choose by clicking

11.7 DirectConnect MVS
11.1.1 Open Client
11.1.1 Open Server

15. click the Continue button

16. click the OK button

17. click the Yes button for Install sybsetup?

18. click the OK button

19. click the Exit button

20. click the Exit button

21. cd $SYBASE/econnect/install

22. sybinit

23. y (yes) backup -- Are you ready to continue?

24. y (yes) stop all other sybase.. -- Are you ready to continue?

25. y (yes) does this contain products you want to install?

your $SYBASE directory should be the default in the next screen26. enter27. y (yes) Install DirectConnect Server?28. y (yes) Install the db2 Access Service?

29. y (yes) Install the trslu62 Access Service?

30. y (yes) Install the trstcp Access Service?

31. y (yes) Install the mcc Access Service?

32. y (yes) Install the mccip Access Service?

33. dc117aix

34. y (yes) Do you want to create a sample service for db2?

35. 11700 for the port number

36. dl117aix

37. n (no) view readme file

38. create script file -- run_srv -- to start dc117aix server

 

#!/bin/csh

setenv SYBASE /usr/u/mweaver/dc117aix

setenv LIBPATH $SYBASE/lib:$SYBASE/econnect/lib

setenv PATH $SYBASE/bin:$SYBASE/econnect/bin:$SYBASE/lib:

$SYBASE/econnect/lib:$PATH

cd $SYBASE/econnect/bin

direct -Sdc117aix

 

chmod 777 run_srv

run_srv

 

 

Section 2: Installing DirectConnect for DB2/MVS v11.7 on Sun Solaris v2.x

 

01. connect to sun solaris machine using xterm

02. su root

03. mount /cdrom

04. su sybase

05. cd /cdrom

06. setenv DISPLAY xterm_machine_host_name:0

07. setenv SYBASE /software/sybase/dc117ss

08. setenv LD_LIBRARY_PATH $SYBASE/lib:$SYBASE/econnect/lib09. Execute the sybsetup binary

your $SYBASE directory should be the default in the next screen10. click Unload Sybase products from CD-ROM or tape your $SYBASE directory should be the default in the nextscreen11. click the Continue button

Enter sybimage in the "Enter the name of the CD-ROM image from which..."12. sybimage13. click the Continue button14. choose by clicking 11.7 DirectConnect MVS 11.1.1 Open Client 11.1.1 Open Server15. click the Continue button

16. click the OK button

17. click the Yes button for Install sybsetup?

18. click the OK button

19. click the Exit button

20. click the Exit button

21. cd $SYBASE/econnect/install

22. sybinit

23. y (yes) backup -- Are you ready to continue?

24. y (yes) stop all other sybase.. -- Are you ready to continue?

25. y (yes) does this contain products you want to install?

your $SYBASE directory should be the default in the next screen26. enter27. y (yes) Install DirectConnect Server?28. y (yes) Install the db2 Access Service?

29. y (yes) Install the trslu62 Access Service?

30. y (yes) Install the trstcp Access Service?

31. y (yes) Install the mcc Access Service?

32. y (yes) Install the mccip Access Service?

33. dc117ss

34. y (yes) Do you want to create a sample service for db2?

35. 11700 for the port number

36. dl117ss

37. n (no) view readme file

38. create script file -- run_srv -- to start dc117ss server

 

#!/bin/csh

setenv SYBASE /usr/u/mweaver/dc117ss

setenv LD_LIBRARY_PATH $SYBASE/lib:$SYBASE/econnect/lib

setenv PATH $SYBASE/bin:$SYBASE/econnect/bin:$SYBASE/lib:

$SYBASE/econnect/lib:$PATH

cd $SYBASE/econnect/bin

direct -Sdc117ss

 

chmod 777 run_srv

run_srv

 

 

Section 3: Installing DirectConnect for DB2/MVS v11.7 on HP 9000(8xx)

 

01. connect to hewlett packard machine using xterm

02. su root

03. mount /cdrom

04. su sybase

05. cd /cdrom

06. setenv DISPLAY xterm_machine_host_name:0

07. setenv SYBASE /software/sybase/dc117hp

08. setenv SHLIB_PATH $SYBASE/lib:$SYBASE/econnect/lib09. Execute the sybsetup binary

your $SYBASE directory should be the default in the next screen10. click Unload Sybase products from CD-ROM or tape your $SYBASE directory should be the default in the nextscreen11. click the Continue button

Enter sybimage in the "Enter the name of the CD-ROM image from which..."12. sybimage13. click the Continue button14. choose by clicking 11.7 DirectConnect MVS 11.1.1 Open Client 11.1.1 Open Server15. click the Continue button

16. click the OK button

17. click the Yes button for Install sybsetup?

18. click the OK button

19. click the Exit button

20. click the Exit button

21. cd $SYBASE/econnect/install

22. sybinit

23. y (yes) backup -- Are you ready to continue?

24. y (yes) stop all other sybase.. -- Are you ready to continue?

25. y (yes) does this contain products you want to install?

your $SYBASE directory should be the default in the next screen26. enter27. y (yes) Install DirectConnect Server?28. y (yes) Install the db2 Access Service?

29. y (yes) Install the trslu62 Access Service?

30. y (yes) Install the trstcp Access Service?

31. y (yes) Install the mcc Access Service?

32. y (yes) Install the mccip Access Service?

33. dc117hp

34. y (yes) Do you want to create a sample service for db2?

35. 11700 for the port number

36. dl117hp

37. n (no) view readme file

38. create script file -- run_srv -- to start dc117ss server

 

#!/bin/csh

setenv SYBASE /usr/u/mweaver/dc117hp

setenv SHLIB_PATH $SYBASE/lib:$SYBASE/econnect/lib

setenv PATH $SYBASE/bin:$SYBASE/econnect/bin:$SYBASE/lib:

$SYBASE/econnect/lib:$PATH

cd $SYBASE/econnect/bin

direct -Sdc117hp

 

chmod 777 run_srv

run_srv

 

Section 4: Installing DirectConnect for DB2/MVS v11.7 on Windows NT

 

  1. Place the Sybase Mainframe Connect Windows NT version 11.0 cd in the cd drive of the machine on which you are installing Direct Connect. Close the door on the cd. This should start the automatic load of the setup.exe. If you need to manually start the setup.exe go to the cd drive and doubleclick on the setup.exe executable in the root directory of the cd rom drive.
  2.  

  3. Click the Next button.
  4.  

  5. Click the Next button.
  6.  

  7. Put in the drive and directory where you want to install DirectConnect 11.7. Click the Next button.
  8.  

  9. Enter "Sybase DirectConnect 11.7" as the Program Folder. Click the Next button.
  10.  

     

  11. Choose by clicking Open Client, Open Server, DirectConnect for MVS, and Language Modules.
  12. Click the Install button.
  13.  

  14. Click OK.
  15.  

  16. Click Direct Connect Components in the help screen.
  17.  

  18. Do what it says except for the non-mvs directory. You will want to go to the mvs directory instead.
  19.  

  20. Close out the help screen.
  21.  

  22. Click Finish.
  23.  

  24. Go to the c:\apps\dc\117\econnect\install\mvs directory. Double click the setup.exe.
  25.  

  26. Click the Next button.
  27.  

  28. Click the Next button.
  29.  

  30. Click the Next button.
  31.  

  32. Click the Next button.
  33.  

  34. Click the Next button.
  35.  

  36. Click the Install or re-install DirectConnect files.
  37.  

  38. Put in your Direct Connect server name and click the Next button.
  39.  

  40. Check your desired components and click the Next button.
  41.  

  42. Check the DB2 Service Library if you desire it to be installed and click the Next button.
  43.  

  44. Check the desired Transaction Router components. And click the Next button.
  45.  

  46. Click the Next button.
  47.  

  48. Click the Do Initial Configuration for a new DirectConnect.
  49.  


    Note: You must "Do Initial Configuration for a new DirectConnect" for EVERY service library previously installed in steps 22-25. If this is not done for EVERY service library installed, the DirectConnect Server will not start due to missing svclib.cfg files. Steps 26-42, below, outline how to configure a DB2 Access Service. You can use these steps as a guide to configure other types of services, as needed.

     

  50. Make sure the server name is correct and click the Next button.
  51.  

    Click the Yes button.

     

    Check the type of service you want to configure and click the Next button.

     

  52. Click the Next button.
  53.  

  54. Enter the name of the service you desire and click the Next button.
  55.  

  56. Select the protocol for the db2 access service you desire and click the Next button.
  57.  

  58. Enter your Local LU Name and click the Next button.
  59.  

  60. Enter you partner LU name and click the Next button.
  61.  

  62. Enter your mode name and click the Next button.
  63.  

    Click the Next button.

     

  64. Click the Next button.
  65.  

  66. Click the Next button.
  67.  

  68. Scroll down and look and the description of the choses you made and click the Next button.

     

  69. Select your protocol(s) and click the Next button.
  70.  

  71. Enter the network address information and click the Next button.
  72.  

  73. Click the Next button.
  74.  

  75. Click the Exit Install button.
  76.  

  77. Click the finish button.
  78.  

  79. Create a cmd file to start the DirectConnect from the command line.
  80.  

    run_srv.cmd

     

    set SYBASE=c:\apps\dc\117

    set PATH=c:\sna4\system;c:\apps\dc\117\dll;c:\apps\dc\117\bin;c:\apps\dc\117\econnect\bin;

    c:

    cd\apps\dc\117\econnect\bin

    c:\apps\dc\117\econnect\bin\direct.exe -Sdc117nt

     

  81. Run the run_srv.cmd file to test it.



Back to Top
© Copyright 2010, Sybase Inc.