Python for z/OS

  • Install pythondev
  • Install DB2 or server driver package
  • easy_install ibm_db
  • Get license file from torolab.

   ftp://db2ftp.torolab.ibm.com:/devinst/db2_v95GA/licenses/s071001/consv_zs/db2/license/db2consv_zs.lic

 

  • Run follow command:

    db2licm –a db2consv_zs.lic

  • Test your connection:
import ibm_db
ibm_db.connect("DATABASE=name;HOSTNAME=host;PORT=60000;PROTOCOL=TCPIP;UID=username;
                PWD=password;", "", "")

Python for z/OS

上一篇:ODOA(1) 翻转句子中单词的顺序(C语言实现)


下一篇:jQuery 禁止子元素响应父元素点击事件