TAW_11 Chapter 7, SAP Locking Flashcards

1
Q

How many application servers have enqueue processes?

A

Just one. And SAP recommends a central lock server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do customer lock objects start with

A

EY or EZ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What would the lock FMs for lock object EZMYTAB be?

A

ENQUEUE_EZMYTAB, DEQUEUE_EZMYTAB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can a loc module do?

A

Set a lock
Promote an optimistic lock
Check if a lock can be set or promoted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Do I need to DEQUEUE all ENQUEUE objects at the end of a process?

A

You can dequeue one by one, or do FM DEQUEUE_ALL but most people don’t dequeue at all because SAP will automatically release the locks at the end of the process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Lock objects are passed as part of the update process?

A

True if the scope is 2 or 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

If WAIT is specified, the enqueue keeps trying until the lock is available?

A

False, ith number of retries is a system configuration. The defaults 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is the _collect parameter

A

Collect all locks in a container and then process all equeue together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two shared lock modes?

A

S to set the lock

W to see if the lock can be set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Optimistic lock mode is

A

O

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Cumulative lock mode are

A

E for set

V to see if the lock cn be set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Non-cumulative lock modes are

A

X for set

U to see if it can be set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Modes to promote optimistic locks are

A

R to set

C to see if it can be set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the default _scope?

A

2, the lock is sent to the update process which then can delete the lock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is _scope 3

A

Two locks are set, one managed by the program, and one sent to the update

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is _scope 1

A

The lock is managed by the program. This is used for inline updates that do not have update tasks

17
Q

What transactions allow the viewing and terminating of locks

A

SM12

18
Q

How are collected locks sent to the system

A

FLUSH_ENQUEUE sends all locks from the lock container and gives a single return code.
You should use FM RESET_ENQUEUE to clear the lock container