I am trying to pass values from a C++ program on VMS.
$DESCRIPTOR( lname, (char*) "A" );
$DESCRIPTOR( lvalue, (char *) "Hello World" );
lib$set_logical( &lname, &lvalue );
lib$set_symbol (&lname,&lvalue);
Should it work? If Not how do I correct it?
How can I check the return-values?
How can I check in the environment if it succeeded?
If it works, is it reliable? (Not depending on permissions etc).