NEORIS-ZDEVOPS / DS-Editor

VS Code Extensions - DS Editor. An integrated Data-Set Editor for Visual Studio Code.
Apache License 2.0
1 stars 0 forks source link

Saving the decrypted File #3

Closed DreDondada closed 8 months ago

DreDondada commented 8 months ago

Hello,

Nice Editor. I installed the DS Editor on VS Studio Code. However, having decrypted the EBCDIC File how can i save the entire file.

Moreso, is there an API that i can call to decrypt an entire file?

Regards Dare

antonkc commented 8 months ago

Greetings,

Sequentials datasets opened with "Open with DS Editor" are downloaded to a local path in your computer. You can find them if you right click the document tab. Refer to the image bellow. image

Saving the document will write the changes to this file.

Regarding the decrypting api, right now that functionality is not present. The editor will always save to the native mainframe codification. We did not implement this due to ZOWE Explorer extension already having an option to download the sequential datasets as text. Refer to the image bellow. image

Are you perhaps suggesting being able the export the table format? We will take note of that regardless of your answer.

I will be around if you have any more questions.

DreDondada commented 8 months ago

Thanks for the response. I installed in on Windows, i am working on a Project to decrypt a Mastercard File and convert to Excel.

DreDondada commented 8 months ago

Am not connecting to Mainframe. The File has already been downloaded to a path on my Windows 11 computer. All i want is decrypt and save in Excel

antonkc commented 8 months ago

I understand. Sadly, no single button to do that is implemented. The closest thing achievable right now through our extension is using [Ctrl]+[A], [Ctrl]+[C] and then pasting the clipboard to a excel file or text file (former is untested). Also, you can change the rows per page as much as you wish. Refer bellow. image

Hope it helps.

We will take note of this use case for the future.

antonkc commented 8 months ago

If I understood right, you shouldn't be posting THAT file here.

DreDondada commented 8 months ago

oh ok. Apologies. Let me retrieve it

antonkc commented 8 months ago

The potetial problem is saw is that that file can be accessed by anyone, it is public. Rarely anything related with credit cards should be published that lightly. If you do, you should argue the reasons why publishing such a file will not harmful in any way.

You may refer to me by mail for such things, and the file should by protected by password. And honestly, you shouldn't believe in me neither. I am just a extension developer.

DreDondada commented 8 months ago

Yeah, I understand. maybe i was too eager to get it resolved.

antonkc commented 8 months ago

Give me something to contact you directly. aka, a mail.

DreDondada commented 8 months ago

dare.adeniyi@gmail.com.

antonkc commented 8 months ago

Although our extension offered some capabilities that enabled in a way to help this use-case, I understood that the real problem was that "Reopen with ecoding..." didn't feature an option that allowed the user to read the file as plain text. The file wasn't a sequential dataset. This doesn't fall into the scope of this extension.

I did guide the user on how to use DS Editor to extrart legible text to a text editor, but I am sure there should be other ways of doing so more effectively without our extension.

However, we did take note of an improvement to me made: Export to text or csv. We do not have this functionality and it may have legitimate use-cases.