packerm
New User
Joined: 15 Jan 2016 Posts: 7 Location: uk
|
|
|
|
Hi
I have a REXX in which I've set up a LIBDEF as follows
ADDRESS ISPEXEC ,
"LIBDEF ISPLLIB DATASET ID('SYSDB2.DQA0.SDSNLOAD') STACK"
I then go onto connect to DB2 to issue some SQL however I get
CSV003I REQUESTED MODULE DSNHDECP NOT FOUND
DSNHDECP isn't called directly from my REXX, I assume that's called from somewhere in the processes in "SUBCOM DSNREXX" however I assume the problem is that LIBDEF is only working in the scope of my REXX code and the sub programs aren't picking it up??
If I add
"exec 'ttbr.packerm.exec(concat)' ",
"'ddname(ISPLLIB) dsname(''SYSDB2.DQA0.SDSNLOAD'') before'"
to my @SPLGEN it works fine, but I want other users to use my REXX without having to update that?
Any ideas, things to try? |
|