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
 

 

Connect to OPC through REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
Martin Han

New User


Joined: 23 Jun 2011
Posts: 6
Location: China

PostPosted: Thu Jun 23, 2011 8:16 pm    Post subject: Connect to OPC through REXX
Reply with quote

Hello

My question is that if it is possible to check an OPC Applicaiton is existence or not through in REXX? Is there an interface which REXX can directly access to OPC environment. If it is impossible, is there a other way to check the OPC Application in way.
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: Thu Jun 23, 2011 8:28 pm    Post subject:
Reply with quote

Looking at the application through the ISPF interface.

Just what is this REXX supposed to do with the results of its search ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Jun 23, 2011 8:33 pm    Post subject: Reply to: Connect to OPC through REXX
Reply with quote

check the TWS830.SEQQSAMP for rexx examples
naturally instead of tws830 use the HLQ for Your TWS/OPOC installation
Back to top
View user's profile Send private message
Martin Han

New User


Joined: 23 Jun 2011
Posts: 6
Location: China

PostPosted: Fri Jun 24, 2011 7:29 am    Post subject: Reply to: Connect to OPC through REXX
Reply with quote

Hi expat.. yes. what I am expecting is that the REXX can connect to OPC and get into OPC Database and retrun the result with the OPC applications exist or not.

Currently. I am using an unwieldy approach that execute an OPC unload job in REXX and capture the return code of the job from JES.
When the RC=4. I suppose that the OPC Application does not exist in OPC Database. But In such way.. incase of there are other error with RC=4, the REXX also will indicate the OPC Application does not exist.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


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