PGM1 is calling PGM2 through XCTL and then PGM2 is modifying the data and passing the control to PGM1 through XCTL :
XCTL PROGRAM ('PGM1')
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.
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?
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).