How do you edit a Single-Record-type Binary Mainframe file in the RecordEditor using Cobol Copybook on a Windows or Linux PC.
Note: This is an attempt to split a very broad question into a series of simpler Question and Answers.
To Edit a File in the RecordEditor with a Cobol Copybook you must first load the copybook and then edit the file
Select Record Layouts >>> Load Cobol Copybook menu options
On the Cobol Load Screen enter the Cobol Copybook and your Mainframe Data file. The RecordEditor will read the file and try and work out what the file attributes are.
The Important attributes
The RecordEditor will try display the file using the current attributes on the Righthand side of the screen. You can play around with attribute.
If you can not get the file display correctly, you could have the wrong Cobol Copybook. You must use a Cobol Copybook that matches the data exactly, near enough is never good enough.
Once you have loaded you copybook, go to the Open files screen.
....
To generate Java~JRecord Code to read the file select Generate >>> Generate Java~JRecord code for Cobol.
The first screen is basically the same as the Import Cobol Copybook screen. This answer has details on generating Java code