Menu

Export to CSV file; greyed out.

Help
Sash Deuce
2024-05-01
2024-05-14
  • Sash Deuce

    Sash Deuce - 2024-05-01

    Hello, I just stumbled across this wonderful project but I'm having troubles exporting COBOL copybooks to CSV data because the" Export as CSV file" menu option is greyed out. Additionally, every Export option is greyed out (screenshot attached). I'm using: RecordEditor (0.99.3) & RecordEditor is successfully parsing and outputting my copybooks to the preview accurately. What am I missing here? Thank you for reading.

     
  • Bruce Martin

    Bruce Martin - 2024-05-02

    The export option works on the file being displayed in the screen in focus. If there is no file being displayed or it has lost focus.

    So
    * Display a file; The options should be active. If not-
    * Make sure a screen displaying the file has focus (i.e. click on it)


    Also if you have a Cobol Copybook, you can create shellscripts for the CobolToCsv project
    (https://sourceforge.net/projects/coboltocsv/) using the Generate option, see

     
  • Sash Deuce

    Sash Deuce - 2024-05-02

    The preview window was definitely in focus and no matter what I tried it's greyed out. I tried:
    * Clicking the Tab (name of the copybook).
    * Selected all cells.
    * Selected 1 cell.
    * Selected outside the table to the same results.

    However, this is all moot since I actually wanted to create a shell script for my project and the bottom link you provided was exactly what I needed. Thanks Bruce (you're a gem).

     
  • Bruce Martin

    Bruce Martin - 2024-05-04

    I am not sure what is going on. So can you tell me

    • Which Java version you are using ???
    • What operating system
    • can you upload an image of what is being displayed when you try to export ???
    • Which version of the RecordEditor - Windows specific, Generic or USB

    Once I know what operating system / version I will provide instructions for running the RecordEditor in a Terminal. This might display error messages

     
  • Sash Deuce

    Sash Deuce - 2024-05-10

    Java version:

    java version "1.8.0_411"
    Java(TM) SE Runtime Environment (build 1.8.0_411-b09)
    Java HotSpot(TM) 64-Bit Server VM (build 25.411-b09, mixed mode)
    

    OS: Windows 10 Pro (22H2)
    I'm using: RecordEditor (0.99.3)... I donn't know what you mean by Windows/Generic or USB; but I installed via this link: https://sourceforge.net/projects/record-editor/files/latest/download
    I'll have to get some screenshots and report back.

     
  • Sash Deuce

    Sash Deuce - 2024-05-13

    Screenshot attached of whats displayed when I try to Export to CSV.

     
  • Bruce Martin

    Bruce Martin - 2024-05-14

    The Export functions are not available on the Generate screen, only the File editor. I will look at changing that, but it will not be easy

    Try entering filename on the edit screen and changing to the Cobol Tab
    Edit

    Hit the Edit button, then try the export:

    Export


    Also the installer you used might not install properly to the Windows Program directory. I will do a seperate post on this later

     

    Last edit: Bruce Martin 2024-05-14
  • Sash Deuce

    Sash Deuce - 2024-05-14

    Thanks! That did it. When I follow these instructions I'm able to Export to CSV.

     

Log in to post a comment.