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

Hi

Former Member
0 Likes
423

Hi all

please answer this question.

how cud u reset the program context of ur programme?

1) issue a ROLLBACK WORK statement in ur programme

2)issue a termination msg(type a)

3)issue a commit work statement

4)end the dialog programme

which of the answers r correct..

Thanks and regards

popin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
404

Hi,

The answer is <b>2)issue a termination msg(type a)</b>.

When you issue a Abort message then the Program will be reset it won't update any records as the LUW will be canselled

Regards

Sudheer

Hi all

please answer this question.

how cud u reset the program context of ur programme?

1) issue a ROLLBACK WORK statement in ur programme

2)issue a termination msg(type a)

3)issue a commit work statement

4)end the dialog programme

which of the answers r correct..

Thanks and regards

popin

3 REPLIES 3
Read only

Former Member
0 Likes
405

Hi,

The answer is <b>2)issue a termination msg(type a)</b>.

When you issue a Abort message then the Program will be reset it won't update any records as the LUW will be canselled

Regards

Sudheer

Read only

0 Likes
404

Hi sudheer

what about rollback work.it will also resets the program context right?

Thanks n Regards

popin

Read only

0 Likes
404

If u r trying to update a Database table and before updation if u do a check adn this fails u have to ROLL BACK the work.

So that it wont do any operation.