A fix is available
APAR status
Closed as program error.
Error description
You are running CICS TS version 4.1 and trying to assemble a sample program DFH$MOLS from the SDFHSAMP dataset. But when you assemble the program you are receiving error messages for a library macro definition. The errors that you are seeing is as follows: ** ASMA003E Undeclared variable symbol; default=0, null, or type=U -OPENC/SMF ** ASMA074E Illegal syntax in expression - ' The message indicates a variable symbol in the operand field of the statement had not been declared. But you are unable to find any reference to this variable. Additional Symptom(s) Search Keyword(s): KIXREVACC
Local fix
After the first EJECT statement in DFH$MOLS insert the following line: COPY DFHGDEFS
Problem summary
**************************************************************** * USERS AFFECTED: All * **************************************************************** * PROBLEM DESCRIPTION: When attempting to assemble sample * * application DFH$MOLS from source, * * assembly fails with return code 8. * **************************************************************** * RECOMMENDATION: * **************************************************************** When attempting to assemble from source the sample application DFH$MOLS, message ASMA003E: Undeclared variable symbol; default=0, null or type U - OPENC/SMF is received due to the symbol &SMF not being correctly resolved in an HLASM expression. This is caused by &SMF not being in scope in the DFH$MOLS assembler source although &SMF retains global scope in the HLASM macro language when assembling DFH$MOLS.
Problem conclusion
DFH$MOLS has been altered to include an inline macro capable of accessing the value of the &SMF symbol.
Temporary fix
CICS AR600 ++ APAR (AM30842). ++ VER (C150) FMID(HCI6600). ++ MACUPD (DFH$MOLS) DISTLIB(ADFHSAMP) SYSLIB(SDFHSAMP) /* MODULE: DFH$MOLS --- TYPE: COPY */. ./ CHANGE NAME=DFH$MOLS,SEQFLD=738 * ************************************************* 07120800 * A macro is used here to allow the SMF version num 07121600 * used by this module from the GBLC &SMF. This is 07122400 * because the CICS assembly process inserts a COPY 07123200 * the start of the module, which is not present if 07124000 * is assembled separately from CICS. This macro al 07124800 * methods of assembly. 07125600 * ************************************************* 07126400 MACRO @BA30842 07127200 LSMF , @BA30842 07128000 GBLC &SMF @BA30842 07128800 MEND @BA30842 07133000 LSMF @BA30842 07136000 ./ ENDUP
Comments
APAR Information
APAR number
PM30842
Reported component name
CICS TS Z/OS V4
Reported component ID
5655S9700
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-01-19
Closed date
2011-02-01
Last modified date
2011-03-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK64569
Modules/Macros
DFH$MOLS
Fix information
Fixed component name
CICS TS Z/OS V4
Fixed component ID
5655S9700
Applicable component levels
R600 PSY UK64569
UP11/02/09 P F102
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 March 2011