HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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-