215 pts.
 Determine who’s running the job
Hi All,

I would like to know how can we trace who run the program (person/job/program) running under batch.

My question may seem confusing but, I would like to trace who runs a program, what time it was executed and what triggers this. What I can only see is that this job is running under batch. I know the job name, user, and job number. How would i know the root (where it was executed, run by, time, etc) since the program job log does not shows error except

CALL PGM(MYLIB/MYBIO1) PARM(X'C1E3D9E4D7D3C4C2C9D6C1E3D9D3C9C2F2404040C 1E3D9E4D7D3C4C2C9D6F1F1F000000000000025000005EE000000000000006000000025000 0008500000006000000A000000025000000C50000000600000000000000000000000000000 00040404040404040404040404040404040404040404040404040404040404040404040404 040404040404040404040404040404040404040404040404040404040F2F0F1F2F0F6F1F5F 0F0F2F5F5F2F0F0F2F5F5F2F2F0F1F2F0F6F1F5F0F0F0F0F0F8F0F0F1F0F0F0F0F0F040404 0404040404040404040404040404040404040C1E3D9E4D7D3C4C2C9D6C1E3D9D3C9C2F2404 040C1E3D9E4D7D3C4C2C9D6F1F1F000000000000025000005EE00000000000000600000002 50000008500000006000000A000000025000000C5000000060000000000000000000000000 00000004040404040404040404040404040404040404040404040404040404040404040404 0404040404040404040404040404040404040404040404040404040404040F2F0F1F2F0F6F 1F5F0F0F2F5F5F2F0F0F2F5F5F2F2F0F1F2F0F6F1F5F0F0F0F0F0F8F0F0F1F0F0F0F0F0F0' X'000000E0000000000000000000000001000000000000000000000000000000000000000 000000000')

 

In this log, MYLIB does not exist anymore, and this program is not being used anymore. I can't find this on my scheduled jobs. What locations would i check?

 

Thank you



Software/Hardware used:
ASKED: June 15, 2012  1:03 AM
UPDATED: June 15, 2012  5:58 AM
  Help
 Approved Answer - Chosen by iNewbie (Question Asker)

The first place to check is the joblog. The second message in the joblog will be a CPI1125 message that describes how the job was submitted to the system. Once that information is shown, it will help narrow down the rest.

By general appearance of the CALL command, I'd guess that it came from a server job. But there's no way to guess which one. The CPI1125 will help.

Tom

ANSWERED:  Jun 15, 2012  5:58 AM (GMT)  by iNewbie

 
Other Answers:

home to a high number of endemic fish and here marine organisms,For me, April saw the breeding plumage of Golden plovers come in. A visit to The Contemporary Museum, now called Spalding House, on Oahu.An afternoon meditation at Broken Ridge Buddhist Temple–in advance of a talk by His Holiness the Dalai Lama.

Last Wiki Answer Submitted:  June 15, 2012  2:32 am  by  Longly   40 pts.
Latest Answer Wiki Contributors:  Longly   40 pts.
To see other answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

thanks tom

 215 pts.

 

thanks longly

 215 pts.