Method and computer program stored in computer-readable medium for converting sort script to reuse JCL in different encoding environment

US10013251B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10013251-B2
Application numberUS-201615206178-A
CountryUS
Kind codeB2
Filing dateJul 8, 2016
Priority dateMay 19, 2016
Publication dateJul 3, 2018
Grant dateJul 3, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure discloses a method and a computer program stored in a computer readable medium for converting a sort script to reuse a JCL in a different encoding environment. An exemplary embodiment of the present disclosure is a sort script converting computer program to reuse a JCL in a different encoding environment, which is stored in a computer readable medium to allow a computer to perform the following steps. The steps includes: a step A of dividing one or more job steps in a job control language (JCL); a step B of extracting an executable program (PGM), a dataset name (DSN), and a data description (DD) from the job step; a step C of obtaining a file description (FD) corresponding to the data description from an executable program source corresponding to the executable program; a step D of generating a first copy book based on the file description; a step E of determining effectiveness by comparing the first copy book with the sort field included in the job step; and a step F of generating and storing a second copy book based on the first copy book in accordance with a determination result of the effectiveness.

First claim

Opening claim text (preview).

What is claimed is: 1. A non-transitory computer-readable medium storing a sort script converting computer program to reuse a job control language in a different encoding environment, the sort script converting computer program allowing one or more processors of a sort script converting computing device to perform the following process, the process comprising: (A) dividing, by a job step divider, a job control language (JCL) into one or more job steps for reuse in a different encoding environment, the dividing of JCL based on an EXEC statement which is included in the one or more job steps, wherein the job step divider determines divided points of the JCL as points of the appearance of the EXEC statement while the job step divider reads the JCL, and wherein the EXEC statement designates a name of a program to be executed in the one or more job steps; (B) extracting, by an extractor, an executable program (PGM) specifying an executable program source, a dataset name (DSN) identifying a dataset to be processed in a corresponding job step, and a data description (DD) from the divided one or more job steps respectively; (C) determining, by a file description obtainer, a layout of data corresponding to a dataset name in a file description (FD), by searching for the executable program source corresponding to the executable program in a database, extracting the file description (FD) corresponding to the data description in the executable program source, and obtaining the file description (FD) corresponding to the data description from an executable program source corresponding to the executable program; (D) generating, by a first copy book generator, a first copy book based on the layout of data; (E) determining, by an effectiveness determiner, validity of the first copy book based on determining whether a sort field of the first copy book matches the sort field by comparing the sort field of the first copy book with a sort field of data corresponding to the dataset name; and (F) generating and storing, by a second copy book generator, a second copy book by setting the first copy book as the second copy book when the sort field of the first copy book matches the sort field of data as a result obtained by comparing the first copy book with the sort field of data corresponding to the dataset name. 2. The non-transitory computer-readable medium of claim 1 , further comprising: (G) converting, by a sort field converter, the sort field by referring to the second copy book. 3. The non-transitory computer-readable medium of claim 1 , wherein the (B) extracting includes: extracting, by the extractor, the dataset name in a first job step including a sort program when the executable program used in the one or more job steps is the sort program; and extracting, by the extractor, the executable program and the data description in a second job step including the dataset name. 4. The non-transitory computer-readable medium of claim 3 , further comprising: extracting, by the extractor, a sort field corresponding to the dataset name in the first job step. 5. The non-transitory computer-readable medium of claim 1 , wherein the executable program includes a common business-oriented language (COBOL). 6. A sort script converting method, which is performed in a sort script converting computing device including one or more processors and memory configured to store commands executable in the processors, to reuse a job control language in a different encoding environment, the method comprising: (A) dividing, by a job step divider, a job control language (JCL) into one or more job steps for reuse in a different encoding environment, the dividing of JCL based on an EXEC statement which is included in the one or more job steps, wherein the job step divider determines divided points of the JCL as points of the appearance of the EXEC statement while the job step divider reads the JCL, and wherein the EXEC statement designates a name of a program to be executed in the one or more job steps; (B) extracting, by an extractor, an executable program (PGM) specifying an executable program source, a dataset name (DSN) identifying a dataset to be processed in a corresponding job step, and a data description (DD) from the divided one or more job steps respectively; (C) determining, by a file description obtainer, a layout of data corresponding to the dataset name in a file description (FD), by searching for the executable program source corresponding to the executable program in a database, extracting the file description (FD) corresponding to the data description in the executable program source, and obtaining the file description (FD) corresponding to the data description from an executable program source corresponding to the executable program; (D) generating, by a first copy book generator, a first copy book based on the layout of data; (E) determining, by an effectiveness determiner, validity of the first copy book based on determining whether a sort field of the first copy book matches the sort field by comparing the sort field of the first copy book with a sort field of data corresponding to the dataset name; and (F) generating and storing, by a second copy book generator, a second copy book by setting the first copy book as the second copy book when the sort field of the first copy book matches the sort field of data as a result obtained by comparing the first copy book with the sort field of data corresponding to the dataset name. 7. The sort script converting method of claim 6 , further comprising: (G) converting, by a sort field converter, the sort field by referring to the second copy book. 8. The sort script converting method of claim 6 , wherein the (B) extracting includes: extracting, by the extractor, the dataset name in a first job step including a sort program when the executable program used in the one or more job steps is the sort program; and extracting, by the extractor, the executable program and the data description in a second job step including the dataset name. 9. The sort script converting method of claim 8 , further comprising: extracting, by the extractor, a sort field corresponding to the dataset name in the first job step. 10. The sort script converting method of claim 6 , wherein the executable program includes a common business-oriented language (COBOL). 11. A sort script converting computing device to reuse a job control language in a different encoding environment, the computing device comprising: one or more processors; and memory configured to store commands executable by the processors; wherein the one or more processors include: a job step divider configured to divide a job control language (JCL) into one or more job steps for reuse in a different encoding environment, the dividing of JCL based on an EXEC statement which is included in the one or more job steps, wherein the job step divider determines divided points of the JCL as points of the appearance of the EXEC statement while the job step divider reads the JCL, and wherein the EXEC statement designates a name of a program to be executed in the one or more job steps; an extractor configured to extract an executable program (PGM) specifying an executable program source, a dataset name (DSN) identifying a dataset to be processed in a corresponding job step, and a data description (DD) from the divided one or more job steps respectively; a file description obtainer configured to: determine a layout of data corresponding to the dataset name in a file description (FD), by searching for the executable program source corresponding to the executable program in a database, extracting the file description (FD) corresponding t

Assignees

Inventors

Classifications

  • G06F8/76Primary

    Adapting program code to run in a different environment; Porting · CPC title

  • G06F8/36Primary

    Software reuse · CPC title

  • Intelligent editors · CPC title

  • Encoding · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10013251B2 cover?
The present disclosure discloses a method and a computer program stored in a computer readable medium for converting a sort script to reuse a JCL in a different encoding environment. An exemplary embodiment of the present disclosure is a sort script converting computer program to reuse a JCL in a different encoding environment, which is stored in a computer readable medium to allow a computer t…
Who is the assignee on this patent?
Tmaxsoft Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F8/76. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 03 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).