APAR status
Closed as program error.
Error description
IBM Developer for z Systems - IDz - v14.2.0 The function "Surround with" shows message 'no template applicable' when Cobol file uses Copybook containing Linkage Section and Procedure Division. For example, Using following Copybook will trigger this issue. LINKAGE SECTION. 01 ANAGRMIO. 02 FIRST-WORD-LEN PIC 9(3). 02 FIRST-WORD PIC X(128). 02 SECOND-WORD-LEN PIC 9(3). 02 SECOND-WORD PIC X(128). 02 RESULT PIC X(1). 88 IS-ANAGRAM VALUE 'Y'. 88 NOT-ANAGRAM VALUE 'N'. 88 INPUT-ERROR VALUE 'E'. 02 STATUS-MSG-LEN PIC 9(3). 02 STATUS-MSG PIC X(128). PROCEDURE DIVISION USING ANAGRMIO. and program: WORKING-STORAGE SECTION. COPY ANAGRAM. INIT SECTION. MOVE 'A' TO RESULT. Attempt to surround line MOVE 'A' TO RESULT will show message 'no template applicable'
Local fix
Problem summary
"Surround With" is not taking into account DIVISION statements within copybooks.
Problem conclusion
Now inserting copybook tokens into the list of tokens to check highlighted context.
Temporary fix
Comments
APAR Information
APAR number
PH19090
Reported component name
DEV FOR Z/OS
Reported component ID
5724T0700
Reported release
E20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-11-12
Closed date
2020-03-12
Last modified date
2020-03-12
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
DEV FOR Z/OS
Fixed component ID
5724T0700
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E20","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
27 October 2020