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: 10234
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 cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


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