MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Write Operator question

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
ranjo
Beginner


Joined: 11 Mar 2004
Posts: 6
Topics: 2

PostPosted: Fri Mar 19, 2004 7:51 am    Post subject: Write Operator question Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Fri Mar 19, 2004 9:42 am    Post subject: Reply with quote

Ranjo,

What is the resp code after the successful execuetion of the write command? Check this link for a detailed explanation of the WRITE OPERATOR command.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHJAP44/1.266?DT=20000704150132

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranjo
Beginner


Joined: 11 Mar 2004
Posts: 6
Topics: 2

PostPosted: Fri Mar 19, 2004 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Fri Mar 19, 2004 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
ranjo
Beginner


Joined: 11 Mar 2004
Posts: 6
Topics: 2

PostPosted: Fri Mar 19, 2004 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Mon Mar 22, 2004 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
ranjo
Beginner


Joined: 11 Mar 2004
Posts: 6
Topics: 2

PostPosted: Mon Mar 22, 2004 12:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Tue Mar 23, 2004 10:37 am    Post subject: Reply with quote

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
View user's profile Send private message
ranjo
Beginner


Joined: 11 Mar 2004
Posts: 6
Topics: 2

PostPosted: Tue Mar 23, 2004 10:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group