Operating System - OpenVMS
1760566 Members
3345 Online
108894 Solutions
New Discussion юеВ

Re: SYS$SET_PROCESS_PROPERTIESW returns BADPARAM

 
SOLVED
Go to solution
HDS
Frequent Advisor

SYS$SET_PROCESS_PROPERTIESW returns BADPARAM

Hello.

I believe that my interpretation of the use of SYS$SET_PROCESS_PROPERTIESW must be awry. When attempting to set the permanent parse style to EXTENDED, I am receiving a SYSTEM-F-BADPARAM.

Any assistance would be appreciated.

Attached is TEST2.FOR that breaks this down to just the service call. I am using Fortran-77 under OpenVMS V7.3-2 on an Alpha system.

-Howard-
3 REPLIES 3
John Reagan
Respected Contributor
Solution

Re: SYS$SET_PROCESS_PROPERTIESW returns BADPARAM

I think you want some %VAL()s around the parse-style and value arguments. They are passed by value, not by reference.
HDS
Frequent Advisor

Re: SYS$SET_PROCESS_PROPERTIESW returns BADPARAM

Thank you so very much.
That was it. Sometimes one misses the most obvious of solutions.

Much obliged.
HDS
Frequent Advisor

Re: SYS$SET_PROCESS_PROPERTIESW returns BADPARAM

IOS = SYS$SET_PROCESS_PROPERTIESW(0,0,0,
+ %VAL(PARSE_STYLE),
+ %VAL(STYLE_VALUE),
+ %LOC(PREV_STYLE_VALUE))

Thank you for your assistance.

-H-