IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

GettinG -806 while calling RXSUBCOM


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lokeshwar_manoharan

New User


Joined: 22 Sep 2008
Posts: 49
Location: Chennai,Tamilnadu

PostPosted: Fri Feb 11, 2011 11:50 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Feb 11, 2011 1:34 pm
Reply with quote

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
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Fri Feb 11, 2011 1:40 pm
Reply with quote

In most installations the module resides in the SDSNLOAD dataset
Back to top
View user's profile Send private message
lokeshwar_manoharan

New User


Joined: 22 Sep 2008
Posts: 49
Location: Chennai,Tamilnadu

PostPosted: Fri Feb 11, 2011 1:44 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Feb 11, 2011 1:51 pm
Reply with quote

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
View user's profile Send private message
lokeshwar_manoharan

New User


Joined: 22 Sep 2008
Posts: 49
Location: Chennai,Tamilnadu

PostPosted: Fri Feb 11, 2011 4:01 pm
Reply with quote

Hi,

Is it possible to check the default search load library it is using for
ISPLLIB in REXX?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Feb 11, 2011 4:53 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Feb 11, 2011 5:04 pm
Reply with quote

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
View user's profile Send private message
lokeshwar_manoharan

New User


Joined: 22 Sep 2008
Posts: 49
Location: Chennai,Tamilnadu

PostPosted: Fri Feb 11, 2011 6:05 pm
Reply with quote

Thanks Enrico.. May be I need to speak to my support here.
I thought I could figure out the problem myself.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts calling a JCl inside a JCL JCL & VSAM 3
No new posts Calling IEHPROGM from REXX CLIST & REXX 7
Search our Forums:

Back to Top