IBM Support

After V7R4 upgrade encoding scheme not compatible utilizing GIFSGATE/CPYFRMSTMF - Gentran Server for iSeries

Troubleshooting


Problem

After upgrading to V7R4 customer is using qsh/sFTP to place data on IFS.  Normally it would place data in file with CCSID = 819, after upgrading to V7R4 it is placing data in file with CCSID = 1208.   1208 ccsid issues "encoding scheme not compatible" during GIFSGATE command - CPYFRMSTMF 

Symptom

CPYFRMSTF error "encoding scheme not compatible" in job log

Cause

V7R4 upgrade and iOS change

Environment

V7R4 iOS

Resolving The Problem

Data already in file with 1208 CCSID: 

  • Copying/converting the files to CCSID 819 with *TEXT   EX:  ===>        CPY OBJ('/myfile/at/2108') TOOBJ('/mynewfile/at/819') TOCCSID(819) DTAFMT(*TEXT)                                                                           

  • Then, GIFSGATE with *FIXED 

New data coming in to IFS: 

In the past these files would be created with a CCSID of 819. In V7R4 they are created as 1208 by default. 

  • You will need to set an environment variable to tell the system to stop changing: 

  • Add the variable at run time - ADDENVVAR ENVVAR(PASE_DEFAULT_UTF8) VALUE(N)    This method needs to occur at prior to each run 

  • Add the variable to the entire system - ADDENVVAR ENVVAR(PASE_DEFAULT_UTF8) VALUE(N) LEVEL(*SYS)    This only needs to be done 1 time and will stay in affect until it is removed or altered 

Document Location

Worldwide

[{"Type":"SW","Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS6UY8","label":"Sterling Gentran:Server for iSeries"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
14 April 2021

UID

ibm16442967