05-17-2006 7:54 PM
Given this question, which answer would you pick?
Which statement interrupts processing of the currenet screen?
A. Leave screen
B. Call screen 100
I'd be curious to know what others would choose for the answer.
05-18-2006 11:37 AM
Hi Jerry,
Both will stop processing.
In A.
the system will stop the processing of the current screen and go to the NEXT SCREEN (from attributes of the screen) and will never come back to the current screen.
In B.
The system will temporarily stop the processing of the current screen and will go to the called screen. And whenever from this second screen it will find LEAVE TO SCREEN 0, will resume the processing of the current screen
Regds
Sandip
05-17-2006 7:57 PM
I would say both interrupts the processing of the current.
LEAVE SCREEN, will stop the processing of the current screen and leave to a next screen in the flow.
example...
SET SCREEN 0.
LEAVE SCREEN.
CALL SCREEN, will stop the processing of the current screen and go to that screen, when the use leaves the screen 100, control is then returned to the caller.
Regards,
Rich Heilman
05-17-2006 7:57 PM
Both Statements interrupts processing of the current job.
Leave screen: interrupt the processing and goes back to previous screen.
call screen 100 : interrupt the processing and call screen 100.
Regards
Aman
05-17-2006 8:00 PM
According to my answer key, the 2nd one (Call Screen 100) is correct. I am not sure I agree with that one...
05-17-2006 8:01 PM
05-17-2006 7:57 PM
05-18-2006 11:03 AM
Both.........
Leave screen
Call screen 100
statements interrupts processing of the currenet screen
Once Leave Screen statement reached system will come out of the current screen.
At Call Screen 100 statement system will stop the current screen process and goto the screen 100.
Message was edited by: mohammad molla
05-18-2006 11:37 AM
Hi Jerry,
Both will stop processing.
In A.
the system will stop the processing of the current screen and go to the NEXT SCREEN (from attributes of the screen) and will never come back to the current screen.
In B.
The system will temporarily stop the processing of the current screen and will go to the called screen. And whenever from this second screen it will find LEAVE TO SCREEN 0, will resume the processing of the current screen
Regds
Sandip
05-18-2006 11:39 AM