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

Connect to OPC through REXX


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Jun 23, 2011 8:28 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jun 23, 2011 8:33 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


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