copybook

How do I identify the level of a field in copybook using JRecord in Java?

自古美人都是妖i 提交于 2019-12-31 06:35:12
问题 I am trying to read a EBCDIC file and convert it to ASCII format in Java, with a help of copybook. I am using JRecord to read the copybook. So now, how do I get the field level from the copybook using JRecord? Edit 1: Kindly excuse me for a vague question. I have no experience in mainframe or cobol. I am adding few more details if it could help. My source file contains multiple transaction details. The copybook contains the information on the transaction and the fields relating to that

How do you edit a Binary Mainframe file in the RecordEditor using a Cobol Copybook (pt1)

蓝咒 提交于 2019-12-29 08:12:31
问题 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. 回答1: To Edit a File in the RecordEditor with a Cobol Copybook you must first load the copybook and then edit the file Loading the Cobol Copybook into the RecordEditor Select Record Layouts >>> Load Cobol Copybook menu options On the Cobol Load Screen enter the Cobol

Reading cobol datastructures from Java

元气小坏坏 提交于 2019-12-29 03:10:45
问题 Is there a way to read cobol data in a Java program? More concretely I'm confronted with the following case: I have a file with fixed length records of data. The data definition is done as Cobol copybooks. What I think of is a library which taking into account the copybooks would be able to read those records. Ideally it should be possible to generate basic java classes and structures based on the copybook information. In a later step the datarecords would be parsed and the data filled into

Edit a Mainframe file in the RecordEditor without a copybook

∥☆過路亽.° 提交于 2019-12-11 16:31:01
问题 How do you Edit a (binary EBCDIC) Mainframe file in the RecordEditor with out a Cobol Copybook. How do you generate Java code to read the file using the RecordEditor. Note: This is an attempt to split a question that is far to broad to give meaningful answer to into a series of simpler Question and Answer's. 回答1: Try and avoid editing a binary file with a Cobol Copybook if at all possible. This should only be attempted as a last resort !!!. Try and get that Cobol copybook (or some field

How do I identify the level of a field in copybook using JRecord in Java?

风流意气都作罢 提交于 2019-12-02 10:27:09
I am trying to read a EBCDIC file and convert it to ASCII format in Java, with a help of copybook. I am using JRecord to read the copybook. So now, how do I get the field level from the copybook using JRecord? Edit 1: Kindly excuse me for a vague question. I have no experience in mainframe or cobol. I am adding few more details if it could help. My source file contains multiple transaction details. The copybook contains the information on the transaction and the fields relating to that particular transaction. I have to split the each transaction and its fields to a separate file(containing one

How do you edit a Binary Mainframe file in the RecordEditor using a Cobol Copybook (pt1)

落爺英雄遲暮 提交于 2019-11-29 12:22:12
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 Loading the Cobol Copybook into the RecordEditor 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

Reading cobol datastructures from Java

允我心安 提交于 2019-11-28 17:36:24
Is there a way to read cobol data in a Java program? More concretely I'm confronted with the following case: I have a file with fixed length records of data. The data definition is done as Cobol copybooks. What I think of is a library which taking into account the copybooks would be able to read those records. Ideally it should be possible to generate basic java classes and structures based on the copybook information. In a later step the datarecords would be parsed and the data filled into objects of those generated classes. Do you know a library providing this kind of functionality? Or any