Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REXX Connection to DB2 -922

Status
Not open for further replies.

deansgo

Programmer
May 15, 2009
1
CA
I get a -922 when executing a REXX DB2 batch job using the following command. Do I need special permissions to execute a REXX DB2 job in batch ? I have no problem using SPUFI to connect to the DB2 SUBSYS.


ADDRESS DSNREXX "CONNECT" SUBSYS
IF SQLCODE ^= 0 THEN CALL SQLCA

Looking for some tips on this ....Thank you.
 
Try
Address DSNREXX "CONNECT " subsys

i.e. a space after CONNECT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top