The MFS of the program I'm working on spans two pages (physical paging). There is only one LPAGE also. There is a coding in the MFS as mentioned below under DEV.
PFK=(PFKI#,NEXXTLP,'=-1 ', '=1 ',ENDMPPI)
When the press PF4, the program should terminate without showing the second screen. This works fine, but the values in the second screen are not taken into the program(hence all initalized values go into the program). This is because of the ENDMPPI function, which stops the message processing at the first screen where I pressed F4 key.
My requirement is that I should receive the second screen input (and not initialized values) when I press F4 key.
Joined: 07 Nov 2005 Posts: 1105 Location: The Netherlands at Hole 19
Please do some research by following the first link in the sticky where to find info about IMS (or the first link in my signature). Just search for NEXTLP and you will find a lot of info like this. We aways encourage people to do some research themselves because it's all out there on the WWW
I ofcourse did my bit of analysis before posting the topic.
My problem simply lies in the fact that ENDMPPI option terminates the message input at the first screen and does not read any values from the 2nd screen (note: my screen spans 2 pages). One of my requirements also says that F4 key(which is right now mapped to ENDMPPI) should NOT bring up the 2nd screen; and this part works for me using ENDMPPI.
I need to prevent showing the 2nd screen to the user, but still read values from it(or atleast retain the old values in MID). Can both these things be handled simultaneously???