[Robelle-l] Locking Image Datasets

Michael Berkowitz Michael@guess.com
Fri, 21 Nov 2003 13:19:30 -0800


David Kiefer writes

-----Original Message-----
From: David Kiefer [mailto:dkiefer@humana.com]=20
Sent: Friday, November 21, 2003 1:04 PM
To: ROBELLE-L@ROBELLE.COM
Subject: [Robelle-l] Locking Image Datasets


I am trying to lock an entire dataset  while deleting and loading
records.
The Suprtool handyman book instructs the reader to add the Lock
command(Set
Lock 0) after the xeq command.  For Example:

Base dbcode,1,mgr
Get Members
Del
Out Memberbk,link
X
Set Lock 0
Exit


Is this correct???   Can anyone explain to me how the Set Lock 0 command
works after the xeq command.    Since the Lock command is after the
XEQ,
how can this dataset be lock??     The position of the lock command
among
other suprtool commands is confusing me!
-----------------------------------------------------------------
I believe you are misinterpreting what the manual says.  The manual says
"The lock is done after the XEQ command".  This refers to what Suprtool
does.  As soon as the XEQ is specified, it will lock the data set and
then do other activities (get, update, etc.).  It is NOT telling you to
put the set lock 0 after the XEQ.  All Suprtool commands must be before
the XEQ.

Mike Berkowitz
Guess? Inc.