APAR status
Closed as unreproducible in next release.
Error description
Per PMR 44797,999,000 - Dynamic SQL does not support "SET :&hvar = CURRENT DATE/TIME" and "VALUES &val INTO :&hvar" =============================================================== Date reported: 02/10/2011 Severity: high Users Affected: All IMU users of MU V3.2 and prior versions Problem Description: Customer is complaining that SQL SET :&hvars = CURRENT DATE/TIME does not work in Dynamic SQL Mode Customer is complaining that SQL VALUES &val INTO :&hvar does not work in Dynamic SQL Mode Problem Summation DB2 does not support the SET and VALUES INTO statements in dynamic mode, therefore only selective variations of the SET/VALUES statement are simulated by IMU. Problem Conclusion: Logic to simulate additional SQL SET and SQL VALUES INTO syntax was added to the DYNAMSQL macro. Simulation is achieved by converting the above statements to "SQL SELECT" equivalent as per examples below. Example 1: SQL SET :WS-TIME = CURRENT TIME is converted to: SQL SELECT CURRENT TIME FROM SYSIBM.SYSDUMMY1 INTO :WS-TIME Example 2: SQL VALUES 'A' INTO :HOST-VAR is converted to: SQL SELECT 'A' FROM SYSIBM.SYSDUMMY1 INTO :HOST-VAR Caution: The simulated statements in Dynamic SQL mode consume more CPU cycles than STATIC SQL mode. Users are encouraged to run programs in STATIC mode whenever the simulated statements are repeatedly used in the progrm, i.e., a part of detail logic or loops. Impacted SFSYFJCC macros: DYNAMSQL ================================================================
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All IMU v3.2 Users. * **************************************************************** * PROBLEM DESCRIPTION: DYNAMIC SQL does not support * * "SET :&HVAR = CURRENT DATE/TIME" * * and "VALUES &VAL INTO :&HVAR" * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Temporary fix
Comments
This problem is resolved by PTF UK66901.
APAR Information
APAR number
PM33750
Reported component name
MIGRATION UTILI
Reported component ID
5697N4400
Reported release
320
Status
CLOSED UR1
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-02-28
Closed date
2011-04-20
Last modified date
2011-04-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
MIGRATION UTILI
Fixed component ID
5697N4400
Applicable component levels
R320 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSY4B9","label":"IBM Migration Utility for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"320","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
27 October 2020