There is no direct equivalent to PSDS RPG in C ++.
(For those who don’t know, in the RPG programming language, you can declare a data structure called the “Program Status Data Structure” and it will be automatically filled with a lot of information about the runtime, including the job identifier (for example, process identifier), name user, last error occurred and a lot of other information.)
If you can specify exactly what information you are looking for and what platform you need (or you need it to be cross-platform), we can probably help.
source share