View previous topic :: View next topic |
Author |
Message |
dsonsamuel Beginner
Joined: 25 Mar 2004 Posts: 26 Topics: 16
|
Posted: Thu Jul 08, 2004 2:53 am Post subject: Setting attribute in Exec cics send... |
|
|
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 |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Mon Jul 12, 2004 9:12 am Post subject: |
|
|
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 |
|
|
|
|