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 Not under consideration
Created by Guest
Created on Aug 5, 2024

Python to support further encoding: tags beside 1047 and ISO8859-1

Currently, IBM Open Enterprise SDK for Python seems to only support encoding 1047 and ISO8859-1. If we've coded:

# encoding: cp1141

neither output nor error messages are shown for e.g. printed output. A simple print("Hello World") would be enough to reproduce this.

 

We want to call Python Scripts located in PDS datasets by DSFS. These Python Scripts are written in CCSID 1141. Python should be enhanced to further support these CCSIDs without the need to use iconv before running the Python Scripts.

Idea priority Medium
  • Admin
    JC Yao
    Reply
    |
    Nov 4, 2024

    Michael,

    My apologies for not being able to meet your specific request.

    Besides the EDCICONV approach, you could also use the Unix System Services program iconv e.g. "iconv -f IBM-1141 -t IBM-1047 filename.original > filename.converted" for encoding coversion. Additionally, you may want to submit an idea request on automatically converting datasets encoding with DSFS.

    Thanks for reporting the bug regarding no error message was given with incorrect encoding. The fix will be in the next PTF. We will keep you informed here as well.

    Thanks

    JC Yao

  • Guest
    Reply
    |
    Nov 4, 2024

    Hi IBM,

    very sad that this is declined. With which argumentation is it declined?


    Sorry, regarding your last questions:

    • We're using IBM Host On Demand

    • We actually convert our scripts by EDCICONV


    This is very unhandy. We wanted to use DSFS for the Python Scripts that are contained within MVS datasets. Unfortunately there is neither an option to automatically convert the content of MVS datasets using DSFS. This would be a perfect usecase for DSFS (either with #encoding 1141 or with DSFS automatic conversation). Both features seems to be never devlivered . So DSFS seems absolutely useless if you haven't any ex UNIX guy in the Sysprog team, what is very unlikely. The normal application developer neither requires DSFS as he would more likely use sth. like VSCode / Eclipse.


  • Admin
    JC Yao
    Reply
    |
    Sep 10, 2024

    Python scripts are expected to be in either ISO8859-1 or IBM-1047. Using other code pages should have resulted in an error message. We will fix it in the upcoming PTF.

    What emulator are you using? Will you be able to convert your scripts to the supported code pages?

  • Guest
    Reply
    |
    Sep 9, 2024

    With "#encoding: cp1141" there is no error message, nothing.

    We want to write the Python Scripts in 1141, because our Emulator setting is 1141. The Python scripts are located within PO datasets and we want to call them with the DSFS path from USS directly or in batch. So for this, we opened the RFE (support for cp1141).

  • Admin
    JC Yao
    Reply
    |
    Sep 5, 2024

    Is this regarding writing Python script in cp1411? It is not supported but should have produced an error message. We will look into it.

    On the other hand, Python can process cp1411 data.

    Please confirm.