Skip to content

SET PRM

Set PRM Options That Are Flags

This directive sets all the PRM options that are flags.

SET PRM string-value [,ERR=line-ref|,ERC=error-code]
string-value
is a 4-byte string where each bit corresponds to a different PRM flag.
line-ref
is the program line number or label to branch to if this directive produces an error.
error-code
is a programmer-defined error code. Valid values are positive or negative whole numbers.

This directive is generally available starting with release level 8.2.

The following bits are currently recognized:

Byte Bit PRM flag
1 $80$ UPPER
1 $40$ DISABLE
1 $20$ ALLOC
1 $10$ ERRMASK
1 $08$ FULL-COMPARE
1 $04$ IF47
1 $02$ LONG-PROMPT
1 $01$ NOROUND
2 $80$ READONLY
2 $40$ OFF-ERR127
2 $20$ SERIAL-EOF
2 $10$ LISTPAREN
2 $08$ DONTCHECKTEXT
2 $04$ SLEEPLOCK
2 $02$ SHORT-ERROR
2 $01$ VAR-NOTSET-ERR
3 $80$ NOTRANS
3 $40$ IEEESWAP
3 $20$ CREATWDBATTR
3 $10$ LOCKBYCHANNEL
3 $08$ ORA-NVLNULLS
3 $04$ ORA-DONTWRITENULLS
3 $02$ SMPLOCK
3 $01$ JOURNALING
4 $80$ EDITPUBLICS
4 $40$ CVTSTRIP
4 $20$ UNIQUE-KEYS
4 $10$ SQL-NUMERIC-NULLS
4 $08$ PIPE_FSTAT_OK
4 $04$ NUMERR26
4 $02$ SQL-NO-SEPARATORS
4 $01$ Reserved for future use

The SLEEPLOCK, SMPLOCK and JOURNALING flags are read-only flags and cannot be changed at runtime.

For more information on PRM statements please refer to the section on the IPLINPUT file in the Thoroughbred Basic Customization and Tuning Guide.

PRM system variable

From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF