View previous topic :: View next topic
|
Author |
Message |
lokeshwar_manoharan
New User
Joined: 22 Sep 2008 Posts: 49 Location: Chennai,Tamilnadu
|
|
|
|
I am trying to establish connection to DB2 through REXX. But gettin -806 load not found error
ADDRESS TSO "SUBCOM DSNREXX" --> RC(1)
IF RC THEN
S_RC = RXSUBCOM('ADD','DSNREXX','DSNREXX')
I am getting this error while calling RXSUBCOM
S_RC = RXSUBCOM('ADD','DSNREXX','DSNREXX')
Code: |
CSV003I REQUESTED MODULE DSNTZANB NOT FOUND,
CSV028I ABEND806-04 JOBNAME=****** STEPNAME=IKJSPFD,
IRX0250E System abend code 806, reason code 00000004.,
IRX0253E Abend in external function RXSUBCOM.,
IEA995I SYMPTOM DUMP OUTPUT,
SYSTEM COMPLETION CODE=806 REASON CODE=00000004,
TIME=01.08.34 SEQ=55862 CPU=0000 ASID=027A
|
Let me know how can i provide load library for calling RXSUBCOM.
Actually DSNTZANB is missing |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Is this foreground or batch
Do YOU know in which library at YOUR site that the module resides in. Because we sure don't. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
In most installations the module resides in the SDSNLOAD dataset |
|
Back to top |
|
|
lokeshwar_manoharan
New User
Joined: 22 Sep 2008 Posts: 49 Location: Chennai,Tamilnadu
|
|
|
|
Hi Expat,
Its foreground.
The module DSNTZANB was found in 'SDB29A.SDSNLOAD'
I tried adding the below statement before calling RXSUBCOM.
But still the same error 806
Code: |
ADDRESS ISPEXEC "LIBDEF ISPLLIB DATASET ID('SDB29A.SDSNLOAD')"
|
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
in most installations, if You are supposed to use DB2 services from TSO
the necessary library are allocated in the logon procedure
the best thing would be to speak to Your support
the libdef works only for ISPF <managed> libraries
ISPF does a directed load ( from a specific DDNAME )
where the Address TSO constructs does a generic load from the normal steplib/liklist chain
The LIBDEFfed libraries do NOT become part of the standard search order |
|
Back to top |
|
|
lokeshwar_manoharan
New User
Joined: 22 Sep 2008 Posts: 49 Location: Chennai,Tamilnadu
|
|
|
|
Hi,
Is it possible to check the default search load library it is using for
ISPLLIB in REXX? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
looks like You did not read my previous reply!
but going into technical
the use of a ddname and the search order is governed by the environment which will process the command
and it will follow it' s rules
Address TSO follows TSO rules so it will happily ignore everything else
Address ISPEXEC/ISREDIT will follow ISPF rules which are completely different
the ISP things follow ISPF rules! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
enrico-sorichetti wrote: |
looks like You did not read my previous reply! |
i am sure he read it enrico. but, it was not the answer he wanted to hear.
it is the typical "i don't know dog-poop about the system" but I want this to happen, anyway. |
|
Back to top |
|
|
lokeshwar_manoharan
New User
Joined: 22 Sep 2008 Posts: 49 Location: Chennai,Tamilnadu
|
|
|
|
Thanks Enrico.. May be I need to speak to my support here.
I thought I could figure out the problem myself. |
|
Back to top |
|
|
|