send map command



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

send map command

Postby kandrepavan » Tue Jul 10, 2012 2:58 pm

Hi All,

In cics send map command i am making use of resp option to handle the errors.

so, if mapset name or mapname specified is wrong or incorrect in send map command, which is not defined the ppt/pct.

What condition name should be given in evaluate conditionnal statement.

ie,....
EVALUATE TRUE

WHEN WS-RESP = DFHRESP(NORMAL)
PERFORM 2010-RECEIVE-PARA
THRU 2010-RECEIVE-PARA-EXIT

WS-RESP = DFHRESP( ? )
MOVE 'mapsetname/ mapname error' TO WS-ERROR-MSG
EXEC CICS
SEND TEXT
FROM(WS-ERROR-MSG)
END-EXEC .

Thanx and regards.
kandrepavan
 
Posts: 35
Joined: Wed Mar 21, 2012 11:03 am
Has thanked: 0 time
Been thanked: 1 time

Re: send map command

Postby Monitor » Tue Jul 10, 2012 3:40 pm

The error you describe is a programming error, and there is no reason to handle this kind of response.
The normal action from CICS is to abend the task. Different abendcodes for invalid mapsetname, APCT, and invalid mapname, ABM0.
Those abendcodes tells you perfectly well what is wrong.
What did you find when you tested ?
Pls tell us why you want to handle this!
Monitor
 
Posts: 98
Joined: Wed Jan 18, 2012 8:59 pm
Has thanked: 0 time
Been thanked: 7 times

Re: send map command

Postby Monitor » Tue Jul 10, 2012 4:14 pm

I just tested and found that CICS doesn´t return a condition for this type of severe error, the abend takes precedence, which sounds perfekt to me.

These users thanked the author Monitor for the post:
Anuj Dhawan (Thu Jul 12, 2012 9:56 am)
Monitor
 
Posts: 98
Joined: Wed Jan 18, 2012 8:59 pm
Has thanked: 0 time
Been thanked: 7 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post