Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
LIBDEF not working in called proc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
packerm

New User


Joined: 15 Jan 2016
Posts: 3
Location: uk

PostPosted: Fri Sep 15, 2017 7:22 pm    Post subject: LIBDEF not working in called proc
Reply with quote

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?
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us