Hi all,
PLease can any one say what is the error in this code.
When the Transcation is initiated the Map is thrown on to the screen and then later it is always entering to
Return TRansid() commarea( ) command.
The Code is:
01 WS-COMMAREA.
05 WS-I-CH PIC 9(1).
88 C01-CH-PENQ VALUE 1.
88 C02-CH-POAPPLY VALUE 2.
88 C03-CH-PEDIT VALUE 3.
88 C04-CH-PCANCEL VALUE 4.
LINKAGE SECTION.
01 DFHCOMMAREA.
05 LS-CHOICE PIC 9(1).
***************************************************************
* PSEDUO CONVERSATION LOGIC.
PROCEDURE DIVISION.
*
0000-MAIN-PARA.
EVALUATE TRUE
WHEN EIBCALEN = 00
MOVE LOW-VALUES TO PHOMEMPO
MOVE -1 TO HACTL
SET WS-A-HOME-C TO TRUE ----------------- in the mapsend-para i ma evaluating which map need to be send
PERFORM 2000-MAPSEND-PARA
THRU 2000-MAPSEND-PARA-EXIT
MOVE 1 TO WS-I-CH
WHEN WS-COMMAREA= 1
PERFORM 3000-RECEIVE-PARA
THRU 3000-RECEIVE-PARA-EXIT
END-EVALUATE.
EXEC CICS
RETURN TRANSID('TAA3') COMMAREA(WS-COMMAREA)
END-EXEC.
0000-MAIN-PARA-EXIT. EXIT.
2000-mapsend-para.
2000-mapsend-para-exit.
3000-receive-para.
3000-receive-para-exit.
The control is not at all gng to Receive para
Thanx and regards
pavan