1,DB2createdatabasename
2。DB2连接到数据库nameuserusername使用用户密码
3。DB2-tvfotpdbuv3udb2。SQL
4。DB2-TD@-f存储过程文件绝对路径
4。调用存储过程:
windows:DB2callstorageprocedurename(参数1,参数2)
AIX:DB2
DB2=>callstorageprocedurename(参数1,参数2)
5。正在验证插入数据是否成功
windows:DB2selectcount(*)fromftotpInAIX:DB2
DB2=>selectcount(*)fromftotpInwindows:DB2selectcount(*)fromftotpInAIX:DB2
DB2=>selectcount(*)fromftotpInTOKENINFO