Describe the bug
After installing Zowe CLI V2, and migrating Zowe CLI profiles from V1 to V2, it became impossible to backup a PDS member from Zowe Explorer.
This triggers an error Cannot set properties of undefined (setting 'encodings').
Used profile from zowe.config.json:
{
"$schema": "./zowe.schema.json",
"profiles": {
...
"TMVS": {
"type": "zosmf",
"properties": {
"host": "tmvs",
"port": 8444,
"rejectUnauthorized": false,
"encoding": 1147
},
"secure": [
"user",
"password"
]
}
...
},
"defaults": {
"cics": "GMVS-CICS-DUA",
"db2": "TMVS-DB2-DB2$",
"endevor": "TMVS-ENDEVOR",
"endevor-location": "GMVS-ENDEVOR-LOC-ETU-1-S9",
"ssh": "GMVS-SSH",
"tso": "TMVS-TSO",
"zftp": "TMVS-FTP",
"zosmf": "GMVS"
},
"autoStore": true
}
There is no problem for reading members of the PDS, converting from host encoding (1147) to UTF-8 is OK.
To Reproduce
- Open a PDS member or create a new one
- Request member backup
Screenshots


Desktop (please complete the following information):
- OS: Windows 10 20H2
- Zowe Explorer Version: 2.0.0
- (Optional) Zowe CLI Version: 7.1.2
- (Optional) Are you using Secure Credential Store? Implicit
Additional context
No relative log found.
Describe the bug
After installing Zowe CLI V2, and migrating Zowe CLI profiles from V1 to V2, it became impossible to backup a PDS member from Zowe Explorer.
This triggers an error
Cannot set properties of undefined (setting 'encodings').Used profile from
zowe.config.json:There is no problem for reading members of the PDS, converting from host encoding (1147) to UTF-8 is OK.
To Reproduce
Screenshots
Desktop (please complete the following information):
Additional context
No relative log found.