On 2/7/2020 2:14 PM, MARTIN, MIKE wrote:

I am trying to figure out the difference between using SOURCEID vs. FIXCAT for 
an APPLY?  Example below...

APPLY CHECK SOURCEID (IBM.Function.GlobalMirror)

SOURCEID(IBM.Function.GlobalMirror) is the selection criteria. PTFs that have the specified sourceid will be candidates for the APPLY. This is what you want.

APPLY CHECK FIXCAT (IBM.Function.GlobalMirror)
FIXCAT(IBM.Function.GlobalMirror) is NOT selection criteria. This operand identifies which FIXCAT HOLDs will be active during the APPLY. Remember, the primary purpose of any ++HOLD statement during APPLY is to stop a SYSMOD from being applied (it "holds" the SYSMOD from being applied). However, FIXCAT type HOLDs by default are ignored and do not hold a SYSMOD from being applied. It is the FIXCAT operand that identifies which FIXCAT HOLDs should NOT be ignored.

In practice FIXCAT HOLDs actually put a hold on FUNCTION SYSMODs and not PTFs, so the FIXCAT operand is only interesting when applying a FUNCTION SYSMOD.

FIXCAT HOLDs identify the PTF which resolves the HOLD (the PTF that fixes the identified problem or provides the identified function). When FIXCAT HOLDs are received, SMP/E automatically assigns a sourceid of the fix category value to the resolving PTF, which enables the PTF to be simply and effectively selected later for APPLY.

The short answer: If you're looking to APPLY PTFs that are applicable to a particular fix category, then use APPLY SOURCEID.

And one more curiosity...

                 If I run a the APPLY statements that get PUNCH'd from the 
following REPORT FIXCAT, is it the same as doing the APPLY FIXCAT above?

REPORT MISSINGFIX ZONES  (TGTRES)  FIXCAT (IBM.Function.GlobalMirror)

The result of running the generated APPLY from this REPORT MISSINGFIX command will be more like running APPLY SOURCEID(IBM.Function.GlobalMirror).

Kurt Quackenbush -- IBM, SMP/E Development
Chuck Norris never uses CHECK when he applies PTFs.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to