Need an help to get Error queue details from OPC



IBM's Command List programming language & Restructured Extended Executor

Need an help to get Error queue details from OPC

Postby ssudhakar208 » Tue Mar 29, 2016 5:01 am

Hi All,
I am working in a support project where i got a requirement like to copy the OPC Error queue details to PS or PDS member. I did a REXX code below and it will open the particular error queue page but not able to proceed further. Please help me to copy the OPC error queue details to dataset.

CODE:
/*REXX*/
ADDRESS ISPEXEC
"SELECT PGM(ISPSTRT) PARM(OPCT;6;4;;)"


The above code open the particular page exactly but i need to copy the entire error queue (screen ) details to dataset to proceed further. Please let me know is there any manuals regarding this requirement.

Thanks.
ssudhakar208
 
Posts: 1
Joined: Tue Mar 29, 2016 4:44 am
Has thanked: 0 time
Been thanked: 0 time

Re: Need an help to get Error queue details from OPC

 

Re: Need an help to get Error queue details from OPC

Postby NicC » Tue Mar 29, 2016 5:46 pm

Why not ask your OPC people if/how it can be done. Otherwise you will just have to cut'n'paste
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2681
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 102 times

Re: Need an help to get Error queue details from OPC

Postby Blackthorn » Thu Mar 31, 2016 6:39 pm

Why do you have to copy the whole screen? Why not use the batch Program Interface (PIF) to get the details you need?
Blackthorn
 
Posts: 98
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 0 time
Been thanked: 2 times

Re: Need an help to get Error queue details from OPC

Postby sbec » Fri Apr 01, 2016 11:52 am

did you have a look @ the SOE ?
( https://www.ibm.com/developerworks/community/forums/html/forum?id=ad688374-c640-493c-a453-09d1fd262b03 )
this is a REXX Framework to easy get to TWS.

i had a quick look... so LIST CPOC STATUS=E
would be the way to go.....

regards Simon
sbec
 
Posts: 3
Joined: Wed Dec 14, 2011 7:50 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post