View previous topic :: View next topic |
Author |
Message |
ranjo Beginner
Joined: 11 Mar 2004 Posts: 6 Topics: 2
|
Posted: Fri Mar 19, 2004 7:51 am Post subject: Write Operator question |
|
|
Are there any limitations on the EXEC CICS WRITE OPERATOR command ?
I am issuing them from a STARTED task that is not associated with a
terminal and the messages do NOT appear on the console. When I use
CEDF on this same program from my terminal the messages to appear on
the console. The program is not changed. Thank you |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
ranjo Beginner
Joined: 11 Mar 2004 Posts: 6 Topics: 2
|
Posted: Fri Mar 19, 2004 10:25 am Post subject: |
|
|
But I do NOT have a handle condition AND the transaction did not abend, so if the RESP/RESP2 was not zero would'nt it have abended ? |
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Fri Mar 19, 2004 6:10 pm Post subject: |
|
|
ranjo,
What have you given in the ACTION parameter of the command. If you have given an ACTION of EVENTUAL, then the message will roll off the console's screen along with all the other messages. Try giving an ACTION of IMMEDIATE or CRITICAL.
Regards,
Manas |
|
Back to top |
|
|
ranjo Beginner
Joined: 11 Mar 2004 Posts: 6 Topics: 2
|
Posted: Fri Mar 19, 2004 6:20 pm Post subject: |
|
|
The message NEVER appears on the console, this is the problem, not its rolling off. I use SDSF within TSO and I can see every console message issued by the CICS region from when it comes up to when it goes down. The messages that are issued from this program do NOT appear when it runs after being STARTED not running on a principal facility but when it runs under CEDF from my terminal they do appear. |
|
Back to top |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Mon Mar 22, 2004 11:46 am Post subject: |
|
|
It's not clear to me if you are specifying the RESP keyword on your WRITE OPERATOR. If you specify RESP on the command but do not check the value, this implies NOHANDLE so you can get a non-zero RESP but the program will continue with no indication of failure. The presence of a principle facility should not be relevant.
Incidentally, you can use the command
CEDX transid
in more recent releases of CICS to trace background transactions. This may help. |
|
Back to top |
|
|
ranjo Beginner
Joined: 11 Mar 2004 Posts: 6 Topics: 2
|
Posted: Mon Mar 22, 2004 12:04 pm Post subject: |
|
|
Mike, thanks for your response. I am not using RESP, I would be happy to get an abend because of a non-zero return code. CEDX, CEDF doesn't matter it will work. When the tran runs as a result of the EXEC CICS START TRANID(XXXX) it does not get an abend nor does the WTO appear but it does appear when running CEDF. |
|
Back to top |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Tue Mar 23, 2004 10:37 am Post subject: |
|
|
I think you need to post the actual code (full program if short, or if it's long/sensitive just the relevant working storage, the WRITE OPERATOR and any variable assignments etc. relating to it.)
If you do this, apart from looking at it I can try the WRITE on my system if necessary.
I'm still not clear from your comments whether it did of did not work when you ran with CEDX. |
|
Back to top |
|
|
ranjo Beginner
Joined: 11 Mar 2004 Posts: 6 Topics: 2
|
Posted: Tue Mar 23, 2004 10:41 am Post subject: |
|
|
Thank you for your response and interest. This item has been resolved. We "forgot" about the XEIIN exit we are running, which was the heart of the problem. Thanks again. |
|
Back to top |
|
|
|
|