Get Job Information in COBOL program.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
Abhishek Mehta
Registered Member
Posts: 15
Joined: Fri Dec 26, 2014 2:34 pm

Get Job Information in COBOL program.

Post 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.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Get Job Information in COBOL program.

Post 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.
Regards
Nic
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Get Job Information in COBOL program.

Post by enrico-sorichetti »

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Get Job Information in COBOL program.

Post by nicc »

Ok - you do not need assembler!
Regards
Nic
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”