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 Planned for future release
Workspace PL/I Compilers
Categories z/OS
Created by Guest
Created on Nov 17, 2025

Allow specification of constants in the VALUE clause of the DEFINE ORDINAL statement

The compiler is currently  flagging the following code

/* HTTP status codes */                                
DCL 01 HTTP_STATUS_CODE                                
      ,05 OK                  BIN FIXED(31) VALUE(200)  
      ,05 CREATED             BIN FIXED(31) VALUE(201)  
      ,05 ACCEPTED            BIN FIXED(31) VALUE(202)  
      ,05 NO_CONTENT          BIN FIXED(31) VALUE(203)  
      ,05 PARTIAL_CONTENT     BIN FIXED(31) VALUE(204)  
      ,05 BAD_REQUEST         BIN FIXED(31) VALUE(400)  
      ,05 UNAUTHORIZED        BIN FIXED(31) VALUE(401)  
      ,05 FORBIDDEN           BIN FIXED(31) VALUE(403)  
      ,05 NOT_FOUND           BIN FIXED(31) VALUE(404)  
      ,05 METHOD_NOT_ALLOWED  BIN FIXED(31) VALUE(405)  
      ,05 CONFLICT            BIN FIXED(31) VALUE(409)  
      ,05 UNSUPPORTED         BIN FIXED(31) VALUE(415)  
      ,05 TOO_MANY_REQUESTS   BIN FIXED(31) VALUE(429)  
      ,05 INTERNAL_SERVER_ERROR BIN FIXED(31) VALUE(500)
      ,05 NOT_IMPLEMENTED     BIN FIXED(31) VALUE(501)  
      ,05 SERVICE_UNAVAILABLE BIN FIXED(31) VALUE(503)  
      ,05 TRANSIENT_ERROR     BIN FIXED(31) VALUE(509);

/* Service return codes (subset of HTTP status codes) */              
DEFINE ORDINAL SRV_RETURN_CODE                                        
    (SRV_OK                   VALUE(HTTP_STATUS_CODE.OK)              
    ,SRV_CLIENT_ERROR         VALUE(HTTP_STATUS_CODE.BAD_REQUEST)      
    ,SRV_CLIENT_UNAUTHORIZED  VALUE(HTTP_STATUS_CODE.UNAUTHORIZED)    
    ,SRV_SERVER_ERROR     VALUE(HTTP_STATUS_CODE.INTERNAL_SERVER_ERROR)
    ,SRV_SERVICE_UNAVAILABLE                                          
                          VALUE(HTTP_STATUS_CODE.SERVICE_UNAVAILABLE)  
    ,SRV_TRANSIENT_ERROR      VALUE(HTTP_STATUS_CODE.TRANSIENT_ERROR)  
    )                         PRECISION(31);                          


IBM1352I E      25.0    The statement element HTTP_STATUS_CODE is invalid. The statement will be ignored.

Idea priority Medium
  • Guest
    Nov 19, 2025
    The PL/I language would be cleaner if this was accepted