Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Is a defect
Workspace COBOL Compilers
Categories z/OS
Created by Guest
Created on Sep 28, 2025

Enterprise COBOL - SPECIAL-NAMES paragraph endpoint handling

Hi,

The reference documentation for the SPECIAL-NAMES paragraph states that the period is optional if no clause is present in that paragraph.

This implies that the period is accepted in the absence of any clause in the paragraph:
SPECIAL-NAMES paragraph

However, specifying a period without any clause in the SPECIAL-NAMES paragraph triggers a compilation error IGYDS1089-S.

We would like the compiler to behave as indicated in the reference documentation.

By extension, we would like the period to be present in any paragraph without any other clause or instruction, without causing a compilation error, at least for "well-known" paragraphs that do not consist of multiple "sentences" (when the paragraph consists of "sentences," these "sentences" already carry a period).
This is already the case for other "well-known" paragraphs:

  • REPOSITORY

  • I-O CONTROL

Reason for this request: we have developed an assisted program construction solution (no hand-coding), and in the case of the SPECIAL-NAMES paragraph, it may be necessary to add several unrelated clauses, none of which have any reason to carry the paragraph's final period. Being able to predeclare the final period in the program skeletons we use in our solution would greatly simplify our implementation.


Note in the example below that the same "error" in the presence of a paragraph of the PROCEDURE DIVISION without any instructions is reported twice:

  • by a Warning IGYPS0019-W in the paragraph itself

  • by an Information IGYPS2015-I in the paragraph that follows
    The message IGYPS2015-I should not be issued.


Thanks.

  000001                Identification division.                                               

000002 Program-id. COBPOINT.
000003 Environment division.
000004 Configuration Section.
000005 Source-Computer.
000006 IBM-Z17.
000007 Object-Computer.
000008 IBM-Z17.
000009 Special-Names.
000010 .

==000010==> IGYDS1089-S ". " was invalid. Scanning was resumed at the next area "A" item,
level-number, or the start of the next clause.

000011 Repository.
000012 .
000013 Input-Output section.
000014 File-Control.
000015 I-O-Control.
000016 .
000017 Data division.
000018 File section.
000019 Working-storage section.
000020 Local-storage section.
000021 Linkage section.
000022 Procedure division.
000023 MAIN.
000024 display 'point management in paragraphs'
000025 .
000026 EMPTY.
000027 . *> just a warning

==000027==> IGYPS0019-W No COBOL statement was found between periods.

000028 BYE.

==000028==> IGYPS2015-I The paragraph or section prior to paragraph or section "BYE" did not
contain any statements.

000029 Goback.
000030 End program COBPOINT. 2
Idea priority Low
  • Admin
    Basil Kanneth
    Oct 22, 2025

    This is being accepted as a defect.