Skip to content

Set the QIBM_PASE_CCSID on connection if possible #3120

@bobcozzi

Description

@bobcozzi

We have clients that use sFTP that was "upgraded" from regular FTP.
The old FTP has a CHGFTPA command where you can set the CCSID of created files. That CCSID is usually 819 but can be other values.

The requirement for the IBM i Environment Variable QIBM_PASE_CCSID to be 1208 causes those sFTP jobs to now create a file as 1208 instead of 819. This causes all kind of issues because the data is being pulled down as ASCII (819) so there are encoding issues which came up once we changed it.

My recommendation is to set that environment variable in the job(s) used by VS CODE instead of requiring it.

ADDENVVAR ENVVAR(QIBM_PASE_CCSID) VALUE('1208') REPLACE(*YES) 

This would make sure you've got the correct results while the Customer's keep whatever it is they're using.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaFeature suggestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions