Skip to Content
avatar image
Former Member

Leaving Screen

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    May 18, 2006 at 10: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

    Add comment
    10|10000 characters needed characters exceeded

  • May 17, 2006 at 06: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 17, 2006 at 06: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

    Add comment
    10|10000 characters needed characters exceeded

  • May 17, 2006 at 06:57 PM

    A

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 18, 2006 at 10: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 18, 2006 at 10:39 AM

    Hai Jerry

    SET SCREEN 0.

    LEAVE SCREEN.

    Thanks & regards

    Sreeni

    Add comment
    10|10000 characters needed characters exceeded