Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. 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
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Feb 18, 2019

Customize CPYTOIMPF command

In CPYTOIMPF command with STRDLM('"') (double quote).
Actually function is "ALL THE DATA AND ANY DOUBLE QUOTES IN THE MIDDLE NOW GET AN ADDED DOUBLE QUOTE SO ITS A SINGLE DOUBLE QUOTES".
I need what was optional this function using a data area.


Use Case:

An record of the file type PF-DTA with the content:
THE "IBM i" IS THE BEST
after applying the command CPYTOIMPF FROMFILE(LIB/FILESRC) TOFILE(LIB/FILETGT) MBROPT(*ADD) RCDDLM(X'00') STRDLM('"') RMVBLANK(*NONE) FLDDLM(',') DECPNT(*PERIOD) should write:
"THE "IBM i" IS THE BEST"


Idea priority High
  • Guest
    Reply
    |
    Feb 27, 2021

    IBM does not intend to provide a solution to this request at this time, so it is being closed.

    Since this enhancement would introduce a change in behavior, it would require a new data area to enable the function. This implementation option limits the number of clients who will ever adopt the enhancement, lowering its potential value to our community. Therefore, the cost necessary to deliver this feature is not considered worth the anticipated benefit.

  • Guest
    Reply
    |
    Apr 30, 2020

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Db2 for i
    Operating system - IBM i
    Source - Other

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Languages - CL (Control Language)
    Operating system - IBM i
    Source - Other

  • Guest
    Reply
    |
    Feb 21, 2019

    Can you clarify? I mean, how is it working today and how it should be? Unfortunatelly I don't have an IBM i at hand to test myself, but, did you try STRESCCHR to declare an escape character?

  • Guest
    Reply
    |
    Feb 19, 2019

    You might want to consider modifying a version of my Open Access CSV handler rather than waiting for IBM to make a change (which they may never do). Personally I find Open Access handlers a much better fit than CPYTOIMPF in cases where you need something non-standard. Actually I find it is always an improvement since your program can just write the CSV directly rather than writing a file and then copying it. One step - one change in the F-spec - done!

    This will get you started: http://ibmsystemsmag.com/ibmi/developer/rpg/open-access-templates/