At 22:46 -0500 on 04/10/2007, Ed Gould wrote about Re: DFHSM cleanup
of orphaned MCC records.:
Robert,
I did it a different way as HSM used to choke on 100+ commands at a time.
One thing I did was to break it up to say 75 at one time.
Good suggestion.
Thank you. My suggestion has to do with generating the commands and
the submission is a separate operation. In the
max-commands-per-invocation situation, you just need to segment the
generated commands into multiple groups BEFORE use. I just wanted to
point out the not-necessarily intuitive use of the assembler to
generate the needed commands. I'm old enough to remember the
STAGE1/STAGE2 OS/360 installations where the assembler was used to
generate the actual install JCL Streams and see no reason why this
technique is suddenly no longer usable.
Ed
On Apr 10, 2007, at 10:08 PM, Robert A. Rosenberg wrote:
At 16:13 -0400 on 04/10/2007, Richbourg, Claude wrote about DFHSM
cleanup of orphaned MCC records.:
They say one has to manually issue the HSEND FIXCDS C 'dataset name'
DELETE command for each record and it has to be done
manually. We have a very large amount of these errors and it could take
a couple days to do it with only one person.
Do any of you know any way to automate this? Can these records be
'pulled' from the CDS and 'wrapped' by code to
do all the deletes?
While I am not familiar with the messages, I can pass on a trick I
use in these types of situations. If the error messages come from a
report, you can read the report into SPF and then edit it so that
you have the file names needed for the command. Turn the list of
names into a set of Macro Calls and write a macro that does a PUNCH
' HSEND FIXCDS C ''&DSN'' DELETE' for each macro call. You then
just assemble the module under SPF 4.1 and merge the OBJ deck into
a Job Steam to feed the HSEND commands as SYSIN to the requisite
HSM Utility.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html