Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference between call screen and setscreen

Former Member
0 Likes
659

Difference between call screen and setscreen..

can anyne

1 ACCEPTED SOLUTION
Read only

paruchuri_nagesh
Active Contributor
0 Likes
629

hi

CALL SCREEN will terminates current screen process and control goes to next screen

and conrol can comes back by using

statement LEAVE TO SCREEN 100.

but in SET SCREEN control goes to next called screen after complete the process of current screen control nver comes back to calling screen

LEAVE SCREEN terminates the process of the current screen.

reward if you find helpful

regards

Nagesh.Paruchuri

5 REPLIES 5
Read only

paruchuri_nagesh
Active Contributor
0 Likes
630

hi

CALL SCREEN will terminates current screen process and control goes to next screen

and conrol can comes back by using

statement LEAVE TO SCREEN 100.

but in SET SCREEN control goes to next called screen after complete the process of current screen control nver comes back to calling screen

LEAVE SCREEN terminates the process of the current screen.

reward if you find helpful

regards

Nagesh.Paruchuri

Read only

Former Member
0 Likes
629

Hi,

The difference is as below:

Call Screen:

The system will go to process the called screen, leaving the processing of calling screen on hold. On using LEAVE SCREEN in the called screen, the system will come back and resume the processing of the calling screen.

Set Screen:

The processing of the calling screen is terminated and the system starts the processing of called screen. The execution will not come back to the calling screen again..

Thanks and Best Regards,

Vikas Bittera.

Read only

Former Member
0 Likes
629

hi

good

With SET SCREEN the current screen simply specifies the next screen in the chain , control branches to this next screen as sonn as th e current screen has been processed

thanks

mrutyun^

Read only

varma_narayana
Active Contributor
0 Likes
629

Hi Mahesh..

SET Screen <NO>.

This statement will change the Next Screen Dynamically. It will not transfer the Control to the Called Screen.

CALL SCREEN <NO>.

This Statement interrupts the Processing current screen and Calls the Given Screen.

To return the Control back to the Calling Screen we can use.

LEAVE TO SCREEN 0.

<b>reward if Helpful</b>

Read only

Former Member
0 Likes
629

Hi mahesh,

1. Call Screen = <b>IMMEDIATELY</b> go to the screen

2. Set Screen = First Finish the PAI of current screen,

and then after completion,

go to the new screen.

regards,

amit m.