Page 1 of 1

Get Job Information in COBOL program.

Posted: Tue Feb 23, 2016 2:19 pm
by Abhishek Mehta
Hi, I would like to know if there is any way in COBOL to retrieve batch Job information while the Job is still running. I would like fetch the Job name, Job number and the user ID who submitted a particular batch job. Can we do this in COBOL, please give your suggestions.

Re: Get Job Information in COBOL program.

Posted: Tue Feb 23, 2016 4:24 pm
by nicc
Search the forum and other forums because such a question was asked not so long ago - and over the years. Yes, you can gegt current job info but whether you can get all that YOU want I do not know. BTW - you need assembler routines.

Re: Get Job Information in COBOL program.

Posted: Tue Feb 23, 2016 6:15 pm
by enrico-sorichetti

Re: Get Job Information in COBOL program.

Posted: Tue Feb 23, 2016 7:05 pm
by nicc
Ok - you do not need assembler!