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

  1. backup/restore operation
  2. programmer intentionally adds lock of object (via alcobj command or api), prevent multiple people running same program , same time.
  3. if *srvpgm/*pgm being run in debug in job (maybe?)
  4. during creation (maybe?)

3 & 4 educated guesses...i've never tried watch lock during processes..

what trying when lock? execute or recreate?


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -