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

Can we access db2 from rexx in micro focus environment


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

New User


Joined: 21 Aug 2008
Posts: 2
Location: hyd

PostPosted: Mon Jun 21, 2010 3:55 pm
Reply with quote

Can we access db2 from rexx in micro focus environment
Back to top
View user's profile Send private message
jagdishrv

New User


Joined: 21 Aug 2008
Posts: 2
Location: hyd

PostPosted: Mon Jun 21, 2010 4:55 pm
Reply with quote

Code:
/***********************REXX*********************************/
       TRACE ?R
       SAY ' START OF THE PGM'
      SUBCOM DSNREXX
     IF RC THEN
     DO
     S_RC = "RXSUBCOM('ADD','DSNREXX','DSNREXX')"
     END
     ADDRESS DSNREXX "CONNECT" db2admin


This Is piece of code i have wriiten in Microfocus Rexx. But for last line it is giving +++RC(-3)+++
More info is that we are using IBMUDB
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top