Vscode-extension-for-zowe: DSNs with same name but different profiles overwrites each other

Created on 27 Feb 2020  路  1Comment  路  Source: zowe/vscode-extension-for-zowe

Zowe Explorer is temporarily saving the opened member into a temp file with path like:

/Users/myname/.vscode/extensions/zowe.vscode-extension-for-zowe-1.3.0/resources/temp/_D_/my_profile/DSN.NEW.COBOL(TEST).cbl

however once added to favorites it gets downloaded into a folder where profile is replaced with "Favorites" keyword, see:

/Users/myname/.vscode/extensions/zowe.vscode-extension-for-zowe-1.3.0/resources/temp/D/Favorites/DSN.ALLOCATE.COBOL(member).cbl

So if two different members but with the same name are in favorites with different profiles, it will overwrite each other.

21PI1 Datasets Medium bug

Most helpful comment

Additional to this: if tried to edit that member in favorites and you saved it, It is not uploading in mainframe. The changes are only saved in local file.

>All comments

Additional to this: if tried to edit that member in favorites and you saved it, It is not uploading in mainframe. The changes are only saved in local file.

Was this page helpful?
0 / 5 - 0 ratings