1
  • AS/400: Create a file listing object locks on an object

    This there a way to create an out file listing all object locks on a specific object? Using WRKOBJLCK I can see the jobs that have a lock on an object. I need to end these locks using a CL program. We are using ShowCase and using the command ENDSCSVR will not work because there are numerous locks...

    northwoods180 pointsBadges:
  • How to check for file locks in Batch

    Hi, I would like to check for locks on a PF/LF and need to send message to corresponding user. So, I cant use WRKOBJLCK as it will act interactively or Print the locks. Please suggest me if there is any alternative to check for file locks. Thanks, Pradeep

    deepu93214,775 pointsBadges:
  • How to Identify all work stations with object lock on specific display file

    A break message needs to be sent to all workstations with a current lock on a specific display file. The message-sending CL program needs to identify those workstations and then send the break message to each of them. WRKOBJLCK regretably does not generate an output file, nor could I find an...

    Zack265 pointsBadges:
  • WRKOBJLCK problem – file locking I think

    this is the problem. I run a long job containing updates of 2 files, OCLINE and OCHEAD. The program finishes fine but when I try to get into the file maint programs for these files, a blanks screen comes up. Then I sign off the terminal and sign on again and the maint program works fine. I think it...

    Mikea5 pointsBadges:
  • MONITOR FOR HELD LOCKS

    I created this pgm to check if a file is being locked. I would like to trap if there is a hold lock. If I can I would like to loop back if there is a hold until the hold is released. WRKOBJLCK OBJ(MCPARMS) OBJTYPE(*FILE) MONMSG MSGID(CPF9898) EXEC(PARMLCK: SNDUSRMSG + MSG('File MCPARMS in Library...

    Vince0125 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following