rajesh_m
New User
Joined: 15 Apr 2008 Posts: 36 Location: India
|
|
|
|
Hi All,
I am facing the below specified problem when i am trying to run a query from the REXX.
CODE:
/* REXX */
call rxsubcom 'add', 'sql', 'rxtasql2'
address sql
"select firstnme, lastname, salary",
"from dsn.emp",
"where salary >1000",
if rc=0 then do
say "Number of rows returned="sqlca.sqlrows
do i = 1 to sqlca.sqlrows
say firstnme.i lastname.i salary.i
end
end
Error:
3 +++ CALL RXSUBCOM 'ADD', 'SQL', 'RXTASQL2'
Error running REXSQL1, line 3: Routine not found
***
First time I'm running this. |
|