Top "Openvms" questions

For questions that are specific to the OpenVMS (AKA VAX/VMS) operating system.

How can I convert an alphanumeric and use it for calculation?

I will read a sequential file which include some string such as "79.85", "1000", "212.34". I want to convert the alphanumeric into number …

cobol openvms
How does one safely static_cast between unsigned int and int?

I have an 8-character string representing a hexadecimal number and I need to convert it to an int. This conversion …

c++ casting integer-overflow openvms
Generate a random array in C

I'm developing in C using OpenVMS, I've done a code that put in a 1001 (0-1000) elements array, 1000 (0-999) random numbers …

c openvms
How can we eliminate junk value in field?

I have some csv record which are variable in length , for example: 0005464560,45667759,ZAMTR,!To ACC 12345678,DR,79.85 0006786565,34567899,ZAMTR,!To ACC 26575443,DR,1000 …

cobol openvms