![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Need example of calling SYS$GETUAI, and SYS$HASH_PASSWORD in "C". Attempting to learn "C" and system services at the same time, probably a bad combination? The Answer is : A specific answer to the statement "Tried compiling, got errors" is quite simply impossible. Specific example code and specific error messages and specific compiler information are required. You must read the OpenVMS Programming Concepts manual and you must read the Compaq C programming documentation. Both of these provide the information and various examples. The OpenVMS Wizard cannot provide examples of calling arbitrary system services in arbitary languages -- though the OpenVMS Wizard will mention that there is similarity across system services, and examples of calls to common system services such as $getsyi or $getjpi can easily be used as models for calls to other system services. Various C examples in the Programming Concept manual demonstrate calling $getjpi, for instance. You will also want to review the OpenVMS FAQ information on C and C programming on OpenVMS -- some of the most common C programming errors are described in the FAQ, and explanations of core OpenVMS data structure constructs durectly relevent to C programmers are also provided. You will also want to avail yourself of the various Freeware packages and OpenVMS websites referenced in the OpenVMS FAQ.
|