The next member needing attention is HSMACRT in
sharedprefix.MICS.PARMS. Like its counterpart, VCAACRT
(discussed with examples in Section 7.2.2 of this guide),
HSMACRT will assign the actual data values to the HSMACT1
through HSMACTn variables defined by the HSMACCT member
discussed above.
Because HSMACRT is invoked as part of a SAS DATA step by
CA MICS DAILY processing (step DAY095), it can exploit the
%INCLUDE facility and therefore has been delivered as
follows:
LENGTH %VCAACCT(OPTIONS=LEN);
%INCLUDE SHRPARMS(VCAACRT);
HSMACT1 = VCAACT1;
HSMACT2 = VCAACT2;
HSMACT3 = VCAACT3;
HSMACT4 = VCAACT4;
Note that the series of assignment statements above should
reflect the definition of account structures from member
HSMACCT. That is, if four account codes were defined, then
four account codes must be assigned.
VCAACRT should normally confine itself to examining the
content of CA MICS common elements - particularly DSNAME and
its nodes. HSM will parse the DSNAME into temporary variables
DSNODE1, DSNODE2, DSNODE3, DSNODE4, DSNODE5, and DSNODEL
prior to calling the HSMACRT routine.
The HSMACRT routine is called when building both the HSMMIG
and the HSBBAC files. Therefore, it is important that your
VCAACRT routine (which is being %INCLUDEd in the example)
avoid any references to any VCA-specific elements. You may
want to particularly watch out for any references to DAADSTYP
or VOLSER.
If you must access file-specific variables, the temporary
element FILEID should be tested to isolate these tests from
the common part of the code that deals with DSNAME and its
nodes.
As more and more installations implement volume pooling,
ownership determined on the basis of VOLSER becomes more and
more of an anachronism. As always, should you have questions
about this vital area, please contact the CA MICS Product
Support Group to discuss your implementation ideas.
+--------------------------------------------------------------------------+ | INSTALLATION PREPARATION WORKSHEET: HSM Account Code Routine Definition | | | | PARMS Library Member is HSMACRT | | Reference: Section 7.2.4, CA MICS Space Analyzer Guide | +--------------------------------------------------------------------------+ | | | * VALIDATE FOR VALID ACCOUNT CODES, WHERE POSSIBLE ; | | IF account data is not valid GOTO ACCTOVHD ; | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | * BUILD ACCOUNT CODE FIELDS | | HSMACT1=field source 1 ; | | HSMACTn=field source n ; | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | GOTO ACCTRTEX ; | | * LINKED ROUTINE TO BUILD INSTALLATION OVERHEAD ACCOUNT CODES ; | | ACCTOVHD: | | HSMACT1='overhead category' ; | | HSMACTn='overhead category' ; | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | | | ________________________________________________________________________ | | ACCTRTEX: | | | +--------------------------------------------------------------------------+ | ....5...10...15...20...25...30...35...40...45...50...55...60...65...70.. | +--------------------------------------------------------------------------+
Figure 7-4. HSM Account Code Derivation Exit Worksheet
|
Copyright © 2014 CA.
All rights reserved.
|
|