dbsrv17 -gnh 20 works, but CALL sa_server_option ( 'MaxMultiProgrammingLevel', '20' ); doesn't work for any value less than 80...

Could not execute statement.
Invalid setting for option 'MaxMultiProgrammingLevel'
SQLCODE=-201, ODBC 3 State="42000"
Line 4, column 1

CALL sa_server_option ( 'MaxMultiProgrammingLevel',     '20' )

asked 06 May '22, 14:25

Breck%20Carter's gravatar image

Breck Carter
32.5k5417261050
accept rate: 20%


If you started the server without -gnh, then the default will be 80. You cannot adjust the max to be lower than it currently is.

permanent link

answered 06 May '22, 15:17

John%20Smirnios's gravatar image

John Smirnios
11.9k396165
accept rate: 37%

...but you can adjust the min to be higher than it currently is [snork]

(06 May '22, 16:49) Breck Carter
Replies hidden

Looking at the code, when we increase the max we create new threads. Decreasing the max would probably require getting those threads to [eventually) terminate. It looks like that was never done.

(06 May '22, 17:51) John Smirnios
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×2

question asked: 06 May '22, 14:25

question was seen: 418 times

last updated: 06 May '22, 17:51