Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 
GettinG -806 while calling RXSUBCOM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: GettinG -806 while calling RXSUBCOM
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: 8593
Location: Back in jolly old England

PostPosted: Fri Feb 11, 2011 1:34 pm    Post subject:
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: 258

PostPosted: Fri Feb 11, 2011 1:40 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10292
Location: italy

PostPosted: Fri Feb 11, 2011 1:51 pm    Post subject: Reply to: GettinG -806 while calling RXSUBCOM
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10292
Location: italy

PostPosted: Fri Feb 11, 2011 4:53 pm    Post subject: Reply to: GettinG -806 while calling RXSUBCOM
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: 6968
Location: porcelain throne

PostPosted: Fri Feb 11, 2011 5:04 pm    Post subject: Re: Reply to: GettinG -806 while calling RXSUBCOM
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Calling CLIST through job and REXX Sahasra K CLIST & REXX 19 Tue Aug 01, 2017 10:25 am
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm
No new posts How to get the program name of callin... pkmurali COBOL Programming 8 Mon Aug 01, 2016 3:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us