ibm midrange - CPF8E2F - Lock on *SRVPGM object -
i have created service program , invoked cobol, cl , rpgle programs. running below issue @ times , not sure of reasons. tried searching in google , stackoverflow found no solutions.
please let me know possible reasons issue.
additional message information message id . . . . . . : cpf8e2f severity . . . . . . . : 30 message type . . . . . : diagnostic date sent . . . . . . : 11/10/16 time sent . . . . . . : 10:54:52 message . . . . : object acb0500r temporarily unavailable. cause . . . . . : lock on object acb0500r of type *srvpgm in library lmiqalib held job. object unavailable use @ time. recovery . . . : try access object again. if object still locked, use wrkobjlck command determine job holds lock.
did instructed , use wrkobjlck command see job had lock on *srvpgm?
there's no locks done on *srvpgm object during normal execution.
the time *srvpgm or *pgm object locked
- backup/restore operation
- programmer intentionally adds lock of object (via alcobj command or api), prevent multiple people running same program , same time.
- if *srvpgm/*pgm being run in debug in job (maybe?)
- during creation (maybe?)
3 & 4 educated guesses...i've never tried watch lock during processes..
what trying when lock? execute or recreate?
Comments
Post a Comment