On Wed, 10 Jan 2018 11:26:39 -0600, John McKown wrote:

>On Wed, Jan 10, 2018 at 11:19 AM, Thomas David Rivers wrote:
>
>>      printf("Job name is %s\n", __jobname());
>>
>That is a nice enhancement for the C language under z/OS. As a general
>rule, I _try_ to avoid any functions ... Another nice one might be
>__userid() to return the RACF id under which the process is running. ​
> 
With the right header files, that's just a couple calls to getuid(); getpwuid();

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to