Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

COBOL code conversion method and device

A code conversion and syntax tree technology, applied in the financial field, can solve problems such as heavy manual migration workload, error-prone compilation, and low conversion efficiency, so as to improve code conversion efficiency and automation level, and reduce code development tasks.

Pending Publication Date: 2022-01-28
BANK OF CHINA
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditional code conversion COBOL code conversion methods cannot guarantee the precision and accuracy requirements of data calculations, compilation is prone to errors, and manual migration workload is heavy, conversion efficiency is low, data storage space cannot be well controlled, and redundant codes are prone to be generated

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • COBOL code conversion method and device
  • COBOL code conversion method and device
  • COBOL code conversion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention.

[0026] First, the technical terms in the embodiments of the present invention are introduced:

[0027] BCD code: Use 4-digit binary numbers to represent 10 numbers from 0 to 9 in a decimal number. It is a binary digital encoding form, that is, a binary-coded decimal code.

[0028] Character data: Character data is used to represent the basic data type in the code, which can be subdivided into Alpha, AlphaDigitEdited and NumericEdited.

[0029] Digital data: The digital data type is used to represent the different memory data formats of the data, which can be su...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a COBOL code conversion method and device, which can be used in the financial field, and the method comprises the following steps: obtaining the variable type, storage space information and hierarchical relationship information of data variables in a COBOL code; establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relationship information; according to the syntax tree, generating a JAVA data object corresponding to the data variable; and according to the JAVA data object, carrying out COBOL code conversion. According to the method, COBOL code conversion can be carried out, the code conversion efficiency and the automation level are improved, and the code development task load is reduced.

Description

technical field [0001] The invention relates to the financial field, in particular to a COBOL code conversion method and device. It should be noted that the COBOL code conversion method and device of the present invention can be used in the financial field, and can also be used in any field except the financial field, and the application field of the COBOL code conversion method and device of the present invention is not limited. Background technique [0002] The financial industry uses a large number of ancient codes to perform business logic operations on the host system. With the upgrading of computer hardware equipment and the change and continuous development of computing platforms, managing and maintaining some long-used key business systems has gradually become a heavy burden for users. On the one hand, there is a shortage of maintainers familiar with such ancient languages, and they gradually decrease over time; on the other hand, it is difficult to integrate old sy...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/51G06F8/76G06F8/41
CPCG06F8/51G06F8/76G06F8/427
Inventor 王志善王鹏飞刘华赵函可谢磊李振勇王岩杨春
Owner BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products