Re: Active System Segment needs replacing
- From: rip_uno <ronbogart@xxxxxxxxxxx>
- Date: Tue, 23 Jun 2009 15:49:33 -0700 (PDT)
On Jun 23, 7:38 am, rip_uno <ronbog...@xxxxxxxxxxx> wrote:
On Jun 22, 7:37 pm, Warren M <war...@xxxxxxxxxxxxxxx> wrote:
On Jun 22, 11:51 am, rip_uno <ronbog...@xxxxxxxxxxx> wrote:> We have a segment (SYSSEG) referenced by TACLLOCL that we have found
has some errors in a couple of the macros that it contains. I have
fixed the macros, but now have to get them into use. Since the SYSSEG
is in use all the time I am wondering the best practice to replace it..
The strategy I use is to embed the following in TACLLOCL:
PURGE [default_subvol].ZZSEGF* == Get rid of any old segment files
which are no longer in use.
IF NOT file exists [default_subvol].SYSSEG
OR modif timestamp of [default_subvol].SYSSEG < modif timestamp of
[standard_location].SYSSEG
== SYSSEG does not exist or is out of date
rename [default_subvol].SYSSEG, [default_subvol].ZZSEGFxx ==
Where xx is unique
FUP DUP [standard_location].SYSSEG , [default_subvol].SYSSEG ,
SOURCEDATE
ENDIF
ATTACHSEG [default_subvol].SYSSEG == etc
Thanks Doug and Warren.
It seems both have referenced the same as the best solution, but
Warren - I really like your concept of the automation of the task. I
am thinking that is the route we will take.
I have been doing applications work using COBOL for the past 15 years
and have just started more on the Systems side and working with TACL
and in that regard, these groups have been a real blessing. Thanks to
all of you who hang out here and help - if nobody has said it enough -
you are extremely appreciated!- Hide quoted text -
- Show quoted text -
One last question on this hopefully. How do you handle the security
on this? Currently we have this secured 255,255, "AGAG"
I could secure it "AAAA" but that kinda defeats the security of the
file and anything else blows up during the rename with error 48.
Thanks in advance for the assistance
.
- Follow-Ups:
- Re: Active System Segment needs replacing
- From: Warren M
- Re: Active System Segment needs replacing
- From: Doug Miller
- Re: Active System Segment needs replacing
- References:
- Active System Segment needs replacing
- From: rip_uno
- Re: Active System Segment needs replacing
- From: Warren M
- Re: Active System Segment needs replacing
- From: rip_uno
- Active System Segment needs replacing
- Prev by Date: Re: COMP Data item.
- Next by Date: Re: Active System Segment needs replacing
- Previous by thread: Re: Active System Segment needs replacing
- Next by thread: Re: Active System Segment needs replacing
- Index(es):
Relevant Pages
|