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 

Setting attribute in Exec cics send...

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


Joined: 25 Mar 2004
Posts: 26
Topics: 16

PostPosted: Thu Jul 08, 2004 2:53 am    Post subject: Setting attribute in Exec cics send... Reply with quote

Hi all,
I am throwing error messages in the screen using
EXEC CICS SEND
FROM (WS-ERRORS-TO-SEND)
LENGTH (LENGTH OF WS-ERRORS-TO-SEND)
ERASE
END-EXEC
where WS-ERRORS-TO-SEND is the variable with error messages. No mapsets are used and it will trow the message in the first line. This is coming as unprotected. Is it possible to set the attribute as "Protected" in this case? Please send me the syntax ...

Thanks for ur help in advance.

Regards,
Davidson.
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 Jul 12, 2004 9:12 am    Post subject: Reply with quote

I would think all you need to do is define a 1-byte attribute field at the beginning of your WS-ERRORS-TO-SEND field and move the relevant attribute byte (see CICS supplied copy code DFHBMSCA) to this field before the send.
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