View previous topic :: View next topic
|
Author |
Message |
Martin Han
New User
Joined: 23 Jun 2011 Posts: 6 Location: China
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
check the TWS830.SEQQSAMP for rexx examples
naturally instead of tws830 use the HLQ for Your TWS/OPOC installation |
|
Back to top |
|
|
Martin Han
New User
Joined: 23 Jun 2011 Posts: 6 Location: China
|
|
|
|
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 |
|
|
|