It appears that DTCREACC is different than the IBM internal REACC in
that no options are permitted (at least I couldn't get any to work).
Also, if you had originally ACCESSed a disk with the MODE0 option,
DTCREACC does NOT keep MODE0 when it ACCESSes the
disk again.
Thanks "Chuckie" for sharing this module with us.
On 3/9/2010 9:04 AM, Bruce Hayden wrote:
Ahhh... Now I don't have to wish the IBM internal REACC package was on
the VM downloads page. And just FYI, hoping the Other is still away
from his desk, here is part of the help file for the internal version
- it might just be useful:
.--*------. .--ACCESS--.
>>--REACC--+--label--+--+----------+--><
|--STACK---|
'--TEST----'
where label is the label of the read only disk to be checked. If label
is not given or is * then all read only disks are checked.
Option is either STACK, ACCESS or TEST (default is ACCESS).
ACCESS accesses the changed disks matching the criteria specified by the
first parameter.
STACK causes the access commands to be stacked; the return code is set to
the number of stacked lines (changed disks). The format of the stacked
access commands is either:
ACCESS disk-address mode
or
ACCESS disk-address mode/ext-mode
TEST only sets the return code to the number of changed disks.
The parameters are positional; if option is used then label must be used
also. Note that the parameters are tokenized. Disk labels with imbedded
blanks or special characters may not tokenize properly and so not work
when passed to REACC.
Return codes:
0 : Normal return with ACCESS; no disks changed with TEST and STACK
-4 : Invalid parameter
-100: Disk with label specified not found
>0 : Number of disks changed (with TEST and STACK only)
On Tue, Mar 9, 2010 at 10:50 AM, Alan Altmark <[email protected]> wrote:
On Tuesday, 03/09/2010 at 09:57 EST, "Horlick, Michael"
<[email protected]> wrote:
So, I?m looking for a (super)quick resident CMS module that given a
virtual
disk address can tell if that CMS disk needs to be re-accessed.
(pssst) Since the Other is out of the office right now, I will simply
casually point out as a matter of polite conversation that there is an
undocumented utility called DTCREACC on TCPMAINT 591. It goes through the
list of accessed disks and reaccesses any that have changed.
Not that I would ever EVER suggest that anyone use it for their own
nefarious purposes.
(shhh! here he comes.... Mum's the word...)
-- Chuckie