View previous topic :: View next topic
|
Author |
Message |
Rahul_kumar Warnings : 2 New User
Joined: 24 Jun 2006 Posts: 50
|
|
|
|
Hi,
PGM1 is calling PGM2 through XCTL and then PGM2 is modifying the data and passing the control to PGM1 through XCTL :
EXEC CICS
XCTL PROGRAM ('PGM1')
COMMAREA(AREA-pgm2)
END-EXEC
My doubt is :
1) will the PGM1 program start from the procedure division?
2) value of EIBCALEN in PGM 1 after the Xctl from pgm2 will be equal to 0 or not?
3) I am not able to recieve the values of the map in PGM1 which was sent by PGM2.
Could anyone pls answer this ASAP.
Thanks in Advance.
Regards,
Ansh |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Rahul_kumar wrote: |
1) will the PGM1 program start from the procedure division? |
Yes.
Quote: |
2) value of EIBCALEN in PGM 1 after the Xctl from pgm2 will be equal to 0 or not? |
Equal to the length of AREA-pgm2.
Quote: |
3) I am not able to recieve the values of the map in PGM1 which was sent by PGM2. |
Why not? |
|
Back to top |
|
|
Rahul_kumar Warnings : 2 New User
Joined: 24 Jun 2006 Posts: 50
|
|
|
|
Hi William,
Thanks for your reply.
I was not able to receive the map as the value was passed from PGM2 to pgm1.It got displayed at that time but when the user pressed some other AID key to perform further funtionality then that value is not getting received.
Is it that when we do recive map then only the values which are inputted through the terminal will be taken and spaces are moved to the other input values? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
If PGM2 sent the map and XCTL back to PGM1, there is no reason that PGM1 can not recieve the map back from the user.
The only data returned from the user is those fields that have been altered (or MDTed). |
|
Back to top |
|
|
|