A fix is available
APAR status
Closed as program error.
Error description
Mainframe job that used to work correctly in 7.5 has a problem in 8.7.0 In 8.7 when doing the generate code, in the jobname.cob file we find the following statement: IF SQLCODE = 0 THEN END-IF This line causes a compile error in mainframe. In 7.5, the same job did not create this statement in the jobname.cob file. This was fixed in 91 as a RTC defect. The code needs to be backported 87.
Local fix
End user can safely remove the two lines of COLBOL code: IF SQLCODE = 0 THEN END-IF conpile and run the job.
Problem summary
An Empty IF statement was generated in COBOL for Merge Join Stage in the product Mainframe DataStage, causing compiling error from mainframe COBOL compiler.
Problem conclusion
To fix the problem a CONTINUE statement is added into the generated COBOL from Merge Join Stage to make sure that no IF statement is empty.
Temporary fix
Comments
APAR Information
APAR number
JR45476
Reported component name
WIS DATASTAGE
Reported component ID
5724Q36DS
Reported release
870
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-01-22
Closed date
2013-04-15
Last modified date
2013-04-15
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
WIS DATASTAGE
Fixed component ID
5724Q36DS
Applicable component levels
R870 PSY
UP
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.7"}]
Document Information
Modified date:
07 October 2021