Jump to content

CONFIG.SYS - Commands: Difference between revisions

From EDM2
No edit summary
Line 85: Line 85:
|}
|}


=Buffers=
=BUFFERS=


This statements sets the number of file buffers for the FAT file system. Each buffer uses 512 bytes of RAM.
This statements sets the number of file buffers for the FAT file system. Each buffer uses 512 bytes of RAM.
Line 91: Line 91:
   BUFFERS=value
   BUFFERS=value


Default settings:
'''Default settings:'''


* BUFFERS=5  
* BUFFERS=5  
Line 100: Line 100:


'''Platform Support:'''
'''Platform Support:'''
{| class="wikitable" style="text-align:center" border="1
{| class="wikitable" style="text-align:center" border="1"
|-
|-
!OS/2 2.x
!OS/2 2.x

Revision as of 21:24, 15 February 2007

Return to The Config.sys Documentation Project Main Page


AUTOFAIL

The AUTOFAIL command disables popup messages for hardware errors.

  AUTOFAIL=value

Default settings:

  • AUTOFAIL=NO

Parameters: Value can be YES or NO .

  • AUTOFAIL=NO

Popup messages are displayed.

  • AUTOFAIL=YES

Popup messages are not displayed.


If this parameter is not set it defaults to NO .

NOTE: This command can't be run from an OS/2 prompt.

TIP: Paul Kurr writes: "I set this value to YES on my machine so that I'm not interrupted with those pesky drive not ready popups and such. AUTOFAIL=YES takes the "first" option in those windows presented (usually return error code to program).

"This can be seen most easily when running WIN-OS2 with a CDROM installed - either empty or with a music CD in the drive. With AUTOFAIL=NO (default) OS/2 pop's up the window stating that my drive "E" is not ready. With AUTOFAIL=YES, the first "selection" from that error is executed -- returning the failed drive status to WINOS2, which just keeps running fine."

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Break

With this entry you can stop DOS applications by pressing CTRL + BREAK. This slows the application down a bit, but you can immediately stop an application without waiting for the process to end.

Note: For DOS programs only!

BREAK=value

Parameters: Value can be ON or OFF .

  • BREAK=ON

After pressing CTRL + BREAK the process stops immediately.

  • BREAK=OFF

After pressing CTRL + BREAK the process runs until it reads from the prompt.


There is no default value.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

BUFFERS

This statements sets the number of file buffers for the FAT file system. Each buffer uses 512 bytes of RAM.

  BUFFERS=value

Default settings:

  • BUFFERS=5

Parameters: Value can be in the range from 1 to 100 . If this statement is not set it defaults to 5

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Codepage

This sets up the used alphabet by your system.

  CODEPAGE=primary,secondary

Parameters:

  • primary

This is the default codepage.

  • secondary

You can switch to the the secondary codepage with the command CHCP.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Country

The Country statement customize your system for the desired country. It effects the default format for date, time and currency.

  COUNTRY=xxx,C:\OS2\SYSTEM\COUNTRY.SYS

Parameters:

  • xxx

This is the three digit long country code. Here is a list of available country codes:

o Albania 355
o Arabic-speaking 785
o Asia english 099
o Australia 061
o Austria 063
o Belgium 032
o Bosnia 387
o Brazil 055
o Bulgaria 359
o Canada english 001
o Canada french 002
o China 086
o Croatia 385
o Czechoslovakia 421
o Denmark 045
o Finland 358
o France 033
o Germany 049
o Greece 030
o Hebrew-speaking 972
o Hungary 036
o Iceland 354
o Ireland 353
o Italy 039
o Israel 972
o Yespan 081
o Korea 082
o Latin America 003
o Netherlands 031
o New Zealand 064
o Norway 047
o Poland 048
o Portugal 351
o Romania 040
o Russia 007
o Slovak 422
o Slovenia 386
o South Africa 027
o Spain 034
o Sweden 046
o Switzerland 041
o Taiwan 088
o Thailand 066
o Turkey 090
o United Kingdom 044
o United States 001 
  • The second parameter points to the country.sys driver.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

DLLBASING

Prevents fragmentation of the shared environment, allowing more efficient use of virtual memory. New setting introduce in Warp Server for e-business.

  DLLBASING=<value>

Parameters:

  • On

Default Value.

  • Off


Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
No No No Yes Yes Yes

Devinfo=Kbd

Prepares the keyboard for codepage switching.

  DEVINFO=KBD,layout,C:\OS2\Boot\Keyboard.dcp

Parameters:

Layout can be any of the following values:

   * Albania (sq)
   * Arabic-speaking (ar)
   * Arabic-speaking 101 (ar470)
   * Belgium french (be)
   * Bosnia/Herzogovina (ba)
   * Brazil (br)
   * Brazil 101 (br274)
   * Bulgaria (bg)
   * Bulgaria 241 (bg241)
   * Canada english (ca)
   * Canada french (cf)
   * Croatia (hr)
   * Czech Republic (cz)
   * Denmark (dk)
   * Estonia (ee)
   * Finland (su)
   * France (fr)
   * FYR Macedonia (mk)
   * Germany (gr)
   * Germany (de453)
   * Greece (gk)
   * Greece 101 (el459)
   * Hungary (hu)
   * Iceland (is)
   * Iceland 101 (is458)
   * Israel (he)
   * Italy (it)
   * Italy enhanced (it142)
   * Yespan (jp)
   * Korea (kr)
   * Latin America (la)
   * Latvian (lv)
   * Lithuanian (lt)
   * Netherlands (nl)
   * Norway (no)
   * Poland (pl)
   * Poland programmer's (pl457)
   * Portugal (po)
   * Romania (ro)
   * Russia (ru441)
   * Russia 443 (ru443)
   * Serbia/Montenegro (sr)
   * Slovakia (sk)
   * Slovenia (sl)
   * Spain (sp)
   * Sweden (sv)
   * Switzerland german (sg)
   * Switzerland french (sf)
   * Taiwan (tw)
   * Thailand (th)
   * Turkey (tr)
   * Turkey (tr440)
   * Ukraine (ua)
   * United Kingdom (uk)
   * United Kingdom alternate (uk168)
   * United States (us)
   * United States dvorak (usdv)
   * United States international (ux)
   * United States left-handed (usdvl)
   * United States right-handed (usdvr) 

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Devinfo=Scr

Prepares the display for codepage switching.

  DEVINFO=SCR,device,C:\OS2\Boot\Viotbl.dcp

Parameters:

Device can be any of the following values:

   * CGA
   * EGA
   * VGA
   * BGA 

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Diskcache

This sets up the disk cache for FAT formatted hard drives but not for floppy drives.

  DISKCACHE=Size,LW,Threshold,AC:Drives

Parameters:

  • Size

Size can be in the range from 48 to 14400 or D . If set to D the cache size is 5% of RAM up to a limit of 4 Mbytes. Default = D The size is expressed in Kbytes.

  • LW

If this parameter is set, the lazy writing of data to disk is enabled. With lazy writing all disk writes are temporarily held in memory until the system is not busy. Lazy writing increases performance, but be careful as an unexpected power off may cause data loss.

  • Threshold

Specifies the threshold size. All files which are bigger than the threshold size are NOT cached. Set it to 32 which is reported as an optimum value. Threshold can be in the range from 4 to 128 This value is expressed in sectors with a size of 512 Byte. The default is 4 sectors, i.e, all files greater than 2048 Bytes (4 asterisk 512) are not cached.

  • AC:drives

The AC parameter specifies which drives should be checked by chkdsk.exe during start up after an improper shut down. Add only the drive letter without the colon. If you want to run chkdsk.exe on a drive at every start up add a plus sign (+) in front of the drive letter.

See the examples below.

To use 1 megabyte of space as your disk cache size for FAT drives, enable lazy writing, disable the autocheck feature and use the default of 2048 bytes for the threshold size, use this line:

    DISKCACHE=1024,LW

The following line sets the DISKCACHE to 512 Kbytes, a threshold size of 16 Kbytes, turns lazy writing on, autochecks drive C: after improper shut down and autochecks drive F: at every start up:

   DISKCACHE=512,LW,32,AC:C+F

This DISKCACHE command use 10% of RAM for the cache, disables lazy writing, uses 4 Kbytes as the threshold size and enables autocheck on every startup for drives C: and E:.

  DISKCACHE=D,8,AC:+C+E 

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Dos

This entry is used to select whether the DOS kernel should be loaded into the high memory area and whether DOS should use the upper memory blocks.

note: The DOS entry is also available from the settings notebook of any DOS or Windows application.

  DOS=HMA, UMB

Default settings:

  • DOS=LOW, NOUMB

Parameters:

  • HMA can be LOW or HIGH .

This parameter is for the kernel load area.

  • UMB can be UMB or NOUMB .

This parameter is for the upper memory blocks.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

FCBS

This command is only used by old DOS applications. They need the command to store data about open files. Newer DOS programs work with the files command. You can set the command to FCBS=4,2 to save some RAM.

Note: The FCBS command is also available in the settings notebook for every DOS program.

  FCBS=Max,Don't close

Parameters:

  • Max

Max can be in the range from 1 to 255 .

  • Don't close

Don't close is an optional parameter and defines the number of files which can't be closed. They can be in the range from 0 to 254 but they must be smaller than the Max parameter.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Files

Defines the maximum concurrently open files in a DOS session.

  FILES=value

Default settings:

  • FILES=20

Parameters:

Value can be in the range from 20 to 255 .

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

IOPL

This allows applications to bypass the system and work directly with the hardware.

  IOPL=value

Default settings:

  • IOPL=YES

Parameters:

Value can be YES or NO or a list of specific programs . If set to NO, no programs can access the hardware directly. The list of programs which have direct access to hardware must contain only the executable name without the path and each program must be separated by a comma.

See the examples below.

If you don't want to allow any program to access the hardware directly, add this line to your config.sys file:

  IOPL=NO

If you want to allow the programs prog1.exe and prog2.exe to have direct hardware access, then use this line:

  IOPL=PROG1.EXE,PROG2.EXE 

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Libpath

The LIBPATH statement specifies the search path for DLLs. When a process needs a DLL, OS/2 searches for the DLL in the directories listed in the LIBPATH. To speed up your system it is wise to sort your LIBPATH statement. Most applications store their DLLs in the same directory as the executables so the first entry of your LIBPATH statement should be the period ".". Arrange the other entries so that the most frequently used directories appear before the least used directories.

  LIBPATH=Path1;Path2;Path3;...

Value can be any full path or any relative path . A full path is something like this: "C:\OS2\DLL" A relative path looks like this: "..\DLL" or "."

Tip:The best way to sort your LIBPATH is to use the first 4 entries from the line above and then list your other directories sorted from the most frequently used directory to the least frequently used directory.

  • The "." is the current directory
  • The ".\DLL" is the subdirectory DLL under the current directory. If the current directory is "C:\OS2" then is ".\DLL" equal to "C:\OS2\DLL".
  • The "..\DLL" is the subdirectory from the main directory from the current directory. If the current directory is "C:\COMPILER\EMX\BIN" then is "..\DLL" equal to "C:\COMPILER\EMX\DLL".

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Maxwait

The MAXWAIT statement specifies the time in seconds a program runs before the system gives the thread a higher priority.

  MAXWAIT=value

Parameter:

Value can be in the range from 1 to 255 . Default: 3 The value is expressed in seconds. If this entry is not set in your config.sys file, the default value is used.

TIP: If PRIORITY=ABSOLUTE the MAXWAIT entry has no effect.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Memman

The Memman command enables and controls the swap process.

  MEMMAN=SWAP,PROTECT,COMMIT,MOVE

Default settings:

  • MEMMAN=SWAP,PROTECT

Parameters:

  • Swap

Swap can be SWAP or NOSWAP . SWAP enables swapping and NOSWAP disables swapping.

  • Protect

The PROTECT parameter enables the :hp1. Protected Dynalink :ehp1. . Please use this parameter. Don't delete it unless you are a programmer and you know what you are doing.

  • Commit

With the COMMIT parameter all allocated memory by a program is copied to the swapper.dat even if the data never actually gets swapped out. The swapper.dat grows with this parameter. It is a good idea to make the initial size of the file bigger.

  • Move

Move can be MOVE or NOMOVE . The Move parameter is only for compatibility with OS/2 1.x.

note: The parameters SWAPDOS and NOSWAPDOS are not available in OS/2 2.0 and above.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Some Yes Yes Yes Yes Yes

PauseOnError

With the PAUSEONERROR statement you can control whether you want OS/2 to pause after each error in the config.sys file or not.

  PAUSEONERROR=value

Default settings:

  • PAUSEONERROR=YES

Parameters:

Value can be YES or NO .

  • PAUSEONERROR=YES

OS/2 pauses after an error.

  • PAUSEONERROR=NO

The system doesn't pause after an error.


If this parameter is not set it defaults to YES .

If you want OS/2 to continue after an error occurs while processing your config.sys file, add this line to your config.sys:

  PAUSEONERROR=NO

If you want OS/2 to wait after an error occurs while processing the config.sys file, you don't have to set up the PAUSEONERROR statement. The default is to wait after an error for a keystroke. However, you can add the statement if you wish.

  PAUSEONERROR=YES 

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Printmonbufsize

This statement sets up the buffer size of your parallel ports LPT1 up to LPT3. Usualy you have your printer connect on one of this ports. A higher buffer size can speed up your printer. The best thing you can do, is to set the port (or Ports) you are use, to the maximum value. Set the other ports to the minimum value.

  PRINTMONBUFSIZE=x1,x2,x3

Default settings:

  • PRINTMONBUFSIZE=134,134,134

Parameters:

  • X can be in the range from 134 to 2048 .
  • X1 is the buffer size of the first parallel port LPT1.
  • X2 is the buffer size of the second parallel port LPT2.
  • X3 is the buffer size of the third parallel port LPT3.

You must set up all three parameters, no matter how much parallel ports you have in your PC.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Priority

Determines if OS/2 should calculate the priority of threads dynamically or if no priority calculation should be done. Setting the value to dynamic is best. This allows the system to calculate the priority based upon the display status (foreground or background), the processor load and recent input and output activity.

  PRIORITY=value

Default settings:

  • PRIORITY=DYNAMIC

Parameters:

  • Value can be ABSOLUTE or DYNAMIC .

Set to absolute if you don't want calculation on priority.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Priority_Disk_IO

This command gives the foreground application a higher priority on disk accesses.

  PRIORITY_DISK_IO=value

Default settings:

  • PRIORITY_DISK_IO=YES

Parameters:

  • Value can be YES or NO .

If set to NO all applications have the same priority on disk accesses. If set to YES the foreground application has a higher priority than the background application.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Protectonly

Use this to enable running of DOS and Windows applications.

  PROTECTONLY=value

Default settings:

  • PROTECTONLY=NO

Parameters:

Value can be YES or NO .

  • PROTECTONLY=YES

You can run only OS/2 applications.

  • PROTECTONLY=NO

You can run DOS, Windows and OS/2 applications.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Protshell

This is the protected mode shell for OS/2. This is the first program that OS/2 starts. Pmshell.exe the program that starts the OS/2 Presentation Manager. You can use other programs here for example tshell.exe. If you remove this statement, the Pmshell.exe will come up by default.

  PROTSHELL=C:\OS2\PMSHELL.EXE

Parameters:

Value can be any valid shell with full path .

  Default = C:\OS2\PMSHELL.EXE

If this command is not set it defaults to PROTSHELL=C:\OS2\PMSHELL.EXE .

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Reipl

The REIPL statement enables OS/2 to automatically reboot after a trap error.

  REIPL=value

Default settings:

  • REIPL=OFF

Parameters:

Value can be ON or OFF .

  • REIPL=ON

The computer reboots automatically.

  • REIPL=OFF

The trap error message displays and you must reboot manually.


If this parameter is not set it defaults to OFF .

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

ReserveDriveLetter

Drive letters (A: through Z:) are assigned to all hardware that can be used to store data or programs (i.e. diskettes, cd-roms, disk partitions, remote disk partitions). With the addition of RESERVEDRIVELETTER, you now have the ability to control some of these drive letter assignments by reserving 1 or more consecutive drive letters during the earliest part of system initialization.

note:In Warp 4 you can assign this option with the Reserved page of Drives - Properties. Your config.sys will automatically be updated with the values you specified.

  Reservedriveletter=Drive

Parameters:

  • Drive

CDRom, Optical drives, Virtual disks and Tape drives gets driveletters beginning with the NEXT letter you have defined with Reservedriveletter. You can not change the driveletter for harddisk partitions. For example you have a harddisk with two partitions and one CDRom drive. Without Reservedriveletter set up the harddisk partitions will get driveletter C: and D:, the CDRom will get driveletter E:. If you want your CDRom to become drive G: you should use Reservedriveletter=F. Drive can be in the range from D to Y .

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Rmsize

Sets up how much memory is available in a DOS session.

  RMSIZE=value

Default settings:

  • RMSIZE=640

Parameters:

Value can be in the range from 1 to 640 . This value is expressed in Kbytes.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Shell

This command defines the command line for the DOS shell.

  SHELL=Shell [shell parameters]

Default settings:

  • SHELL=C:\OS2\MDOS\COMMAND.COM /P

Parameters:

Shell can be any valid DOS shell . Default = C:\OS2\MDOS\COMMAND.COM

Shell parameters can be any parameters and commands you can pass to the shell See the documentation for the shell you use for more information.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

SuppressPopUps

The SUPPRESSPOPUPS statement enables logging of errors to a file called Popuplog.os2. And enables or disables the error messages.

  SUPPRESSPOPUPS=value

Parameters:

Value can be any drive letter or 0 .

  • SUPPRESSPOPUPS=C

The error message is stored in the file popuplog.os2 in the root directory of drive C. No popup messages are displayed.

  • SUPPRESSPOPUPS=0

The error message is only displayed. It is not saved to file. This parameter is only available on Warp 4.0 with fixpack #3 and Warp 3.0 with fixpack #29 and above.

  • SUPPRESSPOPUPS not set

The error messages are not displayed and saved to the file popuplog.os2 on your bootdrive. On OS/2 prior to Warp 4 the error messages are only displayed.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes (FP 29) Yes (FP 4) Yes Yes Yes

Swappath

The SWAPPATH command points to the directory and determines the size of the swapper.dat file. The swapper.dat file stores currently unused blocks of RAM. This is done to increase your available memory.

Note: To enable swapping the MEMMAN command must be set to SWAP.

  SWAPPATH=Path MinFree InitSize

Default settings:

  • SWAPPATH=C:\OS2\SYSTEM 2048 2048

Parameters:

  • Path

Path can be any path to the swapper.dat file . Default = C:\OS2\SYSTEM

  • MinFree

The Minfree parameter defines the minimum available free space that the swapper.dat file can grow to before it stops consuming disk space. If you set it, for example, to 1024 the swapper.dat file can grow until the free space remaining is 1024 Kbytes. Minfree can be in the range from 512 to 32767 Minfree is expressed in Kbytes.

  • InitSize

The InitSize parameter sets the starting size of the swapper.dat file. The file can grow but the file will never be smaller than the initsize. To find out a good value for initsize, start some big applications and work with them. From time to time, check the size of the swapper.dat file. Take the biggest value you see and add 10% to determine the initsize parameter. InitSize is expressed in Kbytes.

See the examples below.

If you would like your swapper.dat file to be in the C:\Swap directory, start with a size of 40 megabytes and stop growing at a free space of 2 megabytes, enter this line in your config.sys file:

  SWAPPATH=C:\SWAP 40960 2048 

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Threads

The threads statement defines the number of available threads. Set the number of threads to a value 50 % greater then the maximum value you expect to experience. Each thread consumes 4096 bytes of resident memory.

  THREADS=value

Default settings:

  • THREADS=64

Parameters:

Value can be in the range from 64 to 4095 .On OS/2 2.x the range is from 32 to 4095. If this parameter is not set it defaults to 64 .

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

Timeslice

With this statement you can set up the minimum and maximum timeslices for threads.

  TIMESLICE=Min,Max

Default settings:

  • TIMESLICE=32,32

Parameters:

  • Min

Min can be in the range from 32 to 65535 . Default = 32 This value is expressed in milliseconds. If this parameter is not set it defaults to 32 .

  • Max

Max can be in the range from 32 to 65535 . Default = 32 This value is expressed in milliseconds. If this parameter is not set it defaults to the same value as the min parameter is set to .

See the examples below.

To set the minimum timeslice to 50 milliseconds and the maximum timeslice to 67 milliseconds, add this line to your config.sys file:

  TIMESLICE=50,67

If you want to set both values to 40 milliseconds use this line:

  TIMESLICE=40

To use the default value for minimum and 44 milliseconds for maximum timeslice, use this line in your config.sys file:

  TIMESLICE=,44 

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
Yes Yes Yes Yes Yes Yes

VIRTUALADDRESSLIMIT

  VIRTUALADDRESSLIMIT=<value>

Parameters Values are in "kb". The default value is 1 GB (=1024)

  Example: VIRTUALADDRESSLIMIT=2048

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x eCS 1.x eCs 2.x
No No With FP14 Yes Yes Yes