John McKown wrote:
Sorry, but I deleted the email which had the original question. Just for
"fun" (but no profit), I wrote the following C code to display the name of
the job under which the program is running. It can be improved a bit, but
it shows the basics.
#include <stdlib.h>
#include <stdio.h>
...
In Systems/C , this is simply:
#include <machine/tiot.h>
#include <stdio.h>
main()
{
printf("Job name is %s\n", __jobname());
}
- Dave R. -
--
riv...@dignus.com Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN