WO2009110525A1 - ジョブネットワーク自動生成装置、方法及びプログラム記録媒体 - Google Patents

ジョブネットワーク自動生成装置、方法及びプログラム記録媒体 Download PDF

Info

Publication number
WO2009110525A1
WO2009110525A1 PCT/JP2009/054117 JP2009054117W WO2009110525A1 WO 2009110525 A1 WO2009110525 A1 WO 2009110525A1 JP 2009054117 W JP2009054117 W JP 2009054117W WO 2009110525 A1 WO2009110525 A1 WO 2009110525A1
Authority
WO
WIPO (PCT)
Prior art keywords
job
file
flow
network
flow link
Prior art date
Application number
PCT/JP2009/054117
Other languages
English (en)
French (fr)
Inventor
高井真志
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to EP09717806A priority Critical patent/EP2251785A4/en
Priority to US12/811,899 priority patent/US20110035746A1/en
Priority to CN200980104745XA priority patent/CN101939728A/zh
Publication of WO2009110525A1 publication Critical patent/WO2009110525A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/74Reverse engineering; Extracting design information from source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Definitions

  • the present invention relates to an apparatus and method for automatically generating a job network, and a program storage medium. Background technology
  • Figures 1-1-4 are all job networks and flows that show the same order relationship.
  • the user is often allowed to write freely without any particular restrictions on the description.
  • the completed job network 'flow will be either Figure 1-2 or Figure 1 It is not clear if it will be 13.
  • the mix of different forms of job networks and flows in the same order relationship is an issue both in terms of the efficiency of testing during job migration and in terms of maintainability after migration.
  • the JCL file contains special control information that describes control instructions such as parallel execution and queuing in the actual process description of the command-instructive syntax.
  • control instruction a control instruction that can be described at any place like ⁇ S U B J B B ⁇ EN DS U B J OB (parallel execution) and a place written as ⁇ WA ITS U B
  • a control instruction that is clearly queued. If such a JCL file is converted using a simple automatic conversion tool, it is often the case that a complicated job network flow such as line intersection as shown in Fig. 14 occurs. In this case, the created job network flow can not be applied to the aforementioned job management software.
  • the invention of an automatic generation device for automatically generating a job net is described in Japanese Patent Laid-Open Publication No. 2001-2006 (see Patent Document 1).
  • the automatic generation system centrally manages design information from the screen for entering jobnet design information (system flow, job flow, same job, definition item information definition, record information definition, file information definition, operation schedule). Create a database
  • This automatic generation device generates job net configuration files through the job net configuration file generation mechanism from the registered operation schedule.
  • This auto-generation device is The input is a word, not the JCL file.
  • the invention of a program conversion apparatus is described in Japanese Patent Application Laid-Open No. 20029-2549 (see Patent Document 2).
  • the program conversion device comprises a plurality of program capabilities and a plurality of thread execution devices. Multiple thread execution devices are capable of executing threads in controlled speculative mode and capable of executing threads in data dependent speculative mode.
  • the control speculative mode fetches, interprets, and executes instructions of multiple threads simultaneously according to multiple program counters, and changes made to the register set can be undone later from the time of thread generation. It is a mode. In data dependent speculative mode, when a parent thread that has generated a thread has stored a value in the same memory area after the thread has loaded a value from the memory area, at least the load of the thread itself and subsequent loads. It is the mode which discards the processing result of and re-executes those processing.
  • the program conversion device converts a given source program to a multi-threaded processor.
  • the multi-thread processor has, as an instruction set, an instruction set which can execute the following processing by a combination of single or at most several machine instructions.
  • the first process is that the thread being executed on the thread execution device generates a new thread in the control speculative mode.
  • the second process is to terminate the own thread if the specified condition is satisfied and to release the control speculative mode of the control speculative mode thread generated by the own thread. .
  • the third process is to discard the generated control speculative mode thread.
  • the fourth process is to instruct in advance that the operation should be suspended when loading from the memory area of the specified address, which is the thread generated by the own thread.
  • the fifth process is to cancel the load pause instruction for the specified memory address.
  • the sixth process is that the thread being executed by the thread execution device generates a new thread in the data dependence speculative mode.
  • the seventh process is to cancel the data dependency speculative mode of the data dependent speculative mode generated by the self thread.
  • the program conversion apparatus includes a register assignment trial unit, a fork (FORK) location determination unit, an instruction rearrangement unit, and a register assignment unit.
  • the register allocation trial unit attempts register allocation prior to parallelization and Predict the register allocation status of each variable and intermediate term on the
  • the fork point determination unit determines whether or not to convert the conditional branch portion in the intermediate program into parallel code using a thread generation instruction based on the register allocation attempt result of the register allocation trial unit.
  • the fork location determination unit determines the parallel execution method of the parallel code.
  • the instruction reordering unit converts the conditional branch portion in the intermediate program into parallel code using the zled generation instruction based on the determination result in the fork location determination unit.
  • the instruction reordering unit refers to the result of the register allocation trial, inserts an instruction to guarantee data dependency between the threads through the memory, before and after the thread generation instruction, and generates the thread. Sort the instructions before and after the thread creation instruction so that they will be done early.
  • the register allocator determines whether the physical register can be allocated to the parallelized and rearranged instruction sequence as the deterministic register so as to obtain the same allocation result as when the register allocation is attempted. Make evening assignments.
  • This program conversion device is a compiler whose purpose is to avoid process dependencies and to improve parallel processing efficiency.
  • the job net diagram automatic generation apparatus comprises a database unit and an information extraction display unit for searching and displaying information from the database unit.
  • the database unit associates the above information with job information that indicates the IDs of jobs, programs and files that constitute the batch system, program information and file information, job classification information and file classification information that indicates the classification of jobs and files, and so on. It has the association information to show.
  • the information extraction and display unit comprises a step of extracting and a program for executing the step of generating. In the extraction step, the information extraction display unit specifies job classification information and extracts job information having the classification from the database unit.
  • the information extraction display unit determines the anteroposterior relationship of the job information extracted from the association information, and generates a graphic indicating the association of the job information.
  • the invention of a program transfer system is described in Japanese Patent Application Laid-Open No. 8-1447 (see Patent Document 4).
  • the program porting system portrays a series of programs automatically executed using a job control language in the source combination system, so that the program can be automatically executed on the ported computer system.
  • the program porting system comprises a job control program input means, an input file existence search means, a logical relation review means, an external reference file input means, a log list output means, and a change program output means.
  • the job control program input means inputs a job control program written in a job control language for the computer system at the porting source.
  • the input file existence search means searches whether or not the file corresponding to the input file specified in the file specification statement of the job control program exists on the storage device in the computer system of the porting destination.
  • the logical relationship review means reviews the logical relationships described in the job control program.
  • the external reference file input means inputs the file corresponding to the external reference file described in the job control program from the storage device of the port ;; destination system.
  • the log list output means outputs a log list indicating the presence of an error when an error occurs in the program input means, the input file existence search means, the logical relationship examination means and the external reference file input means, while the error list Outputs a log list indicating the absence of an error if it does not occur.
  • the change program output means changes the job control program for the computer system of the porting destination when no error occurs in the program input means, the input file existence search means, the logical relation review means and the external reference file input means. Output.
  • Patent Document 2 Japanese Patent Application Laid-Open No. 2 0 0 1-2 8 2 5 4 9
  • Patent Document 3 Japanese Patent Application Publication No. 2 0 0 7-2 5 7 3 8 4
  • Patent Document 4 Japanese Patent Application Laid-Open No. 8-1 4 7 1 5 6 Disclosure of the Invention
  • the technology of the above-mentioned patent document can not support the transfer of jobs described in J C L language used in mainframes etc. to various open systems. The reason is as described above.
  • the present invention provides an automatic job network generation device, method and program recording medium for solving the above-mentioned problems. Means to solve the problem
  • an automatic job network generation device comprises a flow link describing job step control flow in a job from an input JCL file, and each job associated with the flow link.
  • an automatic jobnet cache generation program recorded on a recording medium is a flow link that describes the job step control flow in the job from the input JCL file to the computer.
  • a job network creation process that creates a script file that describes each job step in association with the flow link, and a job network definition file from the flow link and the scribble file Execute network output processing.
  • a method of automatically generating a job network includes a flow link which describes a job step control flow in a job from an input JCL file, and a flow link which is associated with the flow link. Create a script file that describes each job step, and from the flow link and the script file, a job network definition file Create
  • the job network / network automatic generation device of the present invention can convert a JCL file described in the JCL language used in a mainframe or the like into a job network definition file.
  • Figure 1-1 is the first diagram showing the job network / flow that shows the same order relation.
  • Figure 12 is a second diagram showing the job network and flow showing the same order relation.
  • Figure 1 1 3 is a third diagram showing the job network-flow showing the same order relation.
  • Fig. 1-14 is the fourth diagram showing the job network-flow showing the same order relation.
  • Figure 2 is a diagram showing the overall configuration of an automatic job network generation device. .
  • Fig. 3 shows the configuration of the J C L ⁇ intermediate file conversion unit.
  • Figure 4 is a block diagram of the job network generation unit.
  • FIG. 5 is a functional explanatory diagram of a script file division unit.
  • FIG. 6 is an explanatory view of the function of the link creation unit.
  • FIG. 7 is a first explanatory view of the method of creating a personal page.
  • FIG. 8 is a second explanatory view of the link creation method.
  • FIG. 9 is a third explanatory view of a method of creating a link.
  • FIG. 10 is a fourth explanatory diagram of a method of creating a flow.
  • FIG. 1 1 is a fifth explanatory view of a flow link creation method. '
  • FIG. 1 2 is a sixth explanatory diagram of a flow link creation method.
  • FIG. 13 is a flow chart for explaining the processing by the J C L-intermediate file conversion unit.
  • Fig. 14 is a first flowchart to explain the flow link creation method.
  • Fig. 15 is a second flow chart explaining the flow link creation method.
  • Figure 16 is a third flow chart explaining the flow link creation method.
  • Fig. 1 7 is a fourth flow chart explaining the flow link creation method.
  • Figure 18 is a flow diagram for explaining the output processing of the job network output unit.
  • FIG. 19 is a diagram showing a basic configuration of a job network automatic generation device 10 according to the present invention.
  • FIG. 2 shows the overall configuration of an automatic job network generation apparatus according to one embodiment.
  • the job network automatic generation device 10 has a JCL file input unit 1 1, a JCL ⁇ intermediate file conversion unit 12, a job network generation unit 13, and a job network output unit 14.
  • JCL file input unit 11 reads out the JCL file to be converted from storage device A1.
  • JCL to intermediate file conversion unit 12 analyzes the JCL file and converts the JCL file into an intermediate file written in a shell language that can be interpreted by the general-purpose UNIX (registration ⁇ mark) OS.
  • the job network generator 13 analyzes the JCL description in the intermediate file and creates a flow link.
  • the job network generation unit 13 further divides the intermediate file into jobs and scripts.
  • the job network interface output unit 14 converts the created flow link and job script into a job network definition file and outputs it.
  • JCL file input unit 11 The J CL file input unit 11, the J CL ⁇ intermediate file conversion unit 12, the job network generation unit 13, and the job network output unit 14 are realized by hardware.
  • the job network generation unit 13 and the job network output unit 14 may be realized by the processor of the job network automatic generation apparatus 10, which is also a computer, executing a program on the memory.
  • the job network automatic generation apparatus 10 shown in FIG. 2 inputs the J C L files from the storage device A 1 and outputs the job network definition files to the storage device B 1.
  • FIG. 3 is a block diagram of the JCL ⁇ intermediate file converter 12.
  • the JCL ⁇ intermediate file conversion unit 12 has an intermediate file generation unit 32, an intermediate file output unit 34, and a conversion dictionary 36.
  • the intermediate file generation unit 32 converts the JCL file extracted from the storage device A 1 by the JCL file input unit 11 into an intermediate file.
  • the intermediate file output unit 34 outputs the generated intermediate file.
  • the conversion dictionary 36 is prepared in advance.
  • the intermediate file generation unit 32 performs conversion processing with reference to the conversion dictionary 36.
  • the conversion dictionary 36 stores a correspondence table between JCL and shell script. .
  • FIG. 4 is a block diagram of the job network generation unit 13.
  • the job network synchronization generation unit 13 includes a JCL analysis unit 41, a script file division unit 42, a link-one-link creation unit 43, a flow link diagnosis unit 44, and a flow link optimization unit 45.
  • J CL analyzer 41 scans and analyzes JCL descriptions in intermediate files.
  • the script file division unit 42 receives an actual processing line (a line describing a process to be executed as a job) in the JCL description from the JCL analysis unit 41, and stores it in the scribble file of the storage device B1.
  • Flow link creation unit 43 receives the J CL instruction line (flow control line) in the J CL description from J CL analysis unit 41, and the flow component is stored in the flow link of main memory MEM 1 according to the type of the instruction line. to add.
  • FIG. 5 is a functional explanatory diagram of the script file division unit 42.
  • J CL analyzer 41 sequentially scans the input JCL description to determine whether the line being scanned is a J CL instruction line or not (ie, a real process line). Do. If it is determined that it is a J CL instruction line, the J CL analysis unit 41 passes the J CL instruction line to the flow link creation unit 43. On the other hand, if it is determined that the processing line is an actual processing line, the JCL analysis unit 41 passes the actual processing line to the script file division unit 42.
  • the script file division unit 42 divides and stores the actual processing line into a plurality of script files created in the storage device B1. Each script file is opened (OPEN) and closed (CLOS E) by the flow link creation unit 43 when a JCL command line appears as a script file associated with any stem or branch.
  • FIG. 6 is a functional explanatory diagram of the flow link creation unit 43.
  • the flow link creation unit 43 includes a trunk management unit 52, a branch management unit 54, and a waiting management unit 56, and creates a flow link using the main memory MEM 1.
  • the flow link creation unit 43 receives the J CL instruction line from the J CL analysis unit 41, and distributes the received J CL instruction line to the stem management unit 52, the branch management unit 54, and the waiting management unit 56.
  • the flow link creation unit 43 interprets the flow of control described in the JCL description as follows. 1.
  • the line between the ⁇ S UB J OB instruction and the ⁇ END S UB'J OB instruction is a "branch"
  • J C L instruction lines (such as ⁇ J OB instruction and ⁇ END J OB instruction) are "stem”.
  • the ⁇ WA I TSUB instruction is the waiting point (convergence point) of the "branch” derived by ⁇ S U B J O B.
  • J CL describes a control flow in which 0 or more “branches” are derived from the basic “stem” and they converge by waiting.
  • the flow link creation unit 43 creates a flow link using the following parts. ⁇ Sew Nit (START) parts
  • FIG. 7 to 12 are diagrams for explaining the flow link creation method by the flow link creation unit 43.
  • the flow link creation unit 43 stores the start part in the flow link developed in the main memory MEM 1.
  • the J CL analysis unit 41 sends ⁇ > 108 D ail y. ( ⁇ STEP J OB 1) of the _ 1st instruction line to the flow link creation unit 43, and the trunk management unit 52 updates the flow, Add trunk 1 of unit job parts.
  • the JCL analysis unit 41 sends ⁇ SUBJOBS UB 1 ( ⁇ STEPJ OB 2) of the JCL instruction line to the flow link creation unit 43, and the branch management unit 54 updates the flow. Add branch 1.
  • FIG. 7 is a diagram for explaining the operation when the flow link creation unit 43 receives ⁇ SUBJBSUB 2 ( ⁇ STEPJ OB 4) of the J CL instruction line.
  • the branch management unit 54 receives ⁇ SUB J OB SUB 2
  • the parallel branch unit 54 Add 2 parallel items and 2 branches to the flow link.
  • the branch management unit 54 manages the branches, and arranges the parallel 2, branch 2 of the parallel branch parts in parallel to the parallel 1, branch 1 of the parallel branch parts, and to add. That is, the branch management unit 54 adds a parallel branch component representing parallel execution to the flow link in order to execute processing up to the branch ⁇ SUB J B instruction and ⁇ END S U B JOB instruction in parallel.
  • the branch management unit 54 newly creates the next branch in the branch path, and further manages the convergence thereof. Also, the branch management unit 54 associates a script file with the branch n, and stores all the lines from ⁇ SUBJOB to ⁇ ENDP JOB in association with this branch n.
  • the trunk management unit 52 manages the trunk portion.
  • the stem management unit 52 records all real processing lines in the same script file until it detects a ⁇ SUB J OB instruction or ⁇ WA I S U B instruction.
  • the script file division unit 42 records all those actual processing lines in the same script file associated with the stem.
  • FIG. 8 is an operation explanatory diagram when the flow link creation unit 43 receives ⁇ WA I S U B of the J C L instruction line.
  • the trunk management unit 52 has already generated the trunk 2 to be associated with the waiting point before receiving the ⁇ WA I TSUB.
  • the waiting management unit 56 adds the waiting 1 of the waiting part (also referred to as the FOCUS part) after the latest stem 2.
  • the trunk management unit 52 closes the script file associated with the trunk 1 and opens the script file associated with the trunk 2.
  • FIGS. 9 to 11 are diagrams for explaining how the branches converge.
  • the branch management unit 54 causes the queuing management unit 56 to search for a branch to be converged which is described as an argument of the ⁇ WA I TSUB line. Then, the branch management unit 54 first combines branch 1 and wait 1 with each other. Also, the trunk management unit 52 couples the trunk 2 behind the parallel 2. As a result, the flow link is updated as shown in FIG. 10. Subsequently, the branch management unit 54 attempts to converge branch 2. Waiting Management Department 56. is newly Create a waiting 2 for the waiting part, and join this waiting 2 behind the waiting 1.
  • the branch management unit 54 combines the branch 2 and the wait 2. In this way, the processing when the ⁇ WA ITS UB is read is completed.
  • the flow link creation unit 43 combines the stem 3 of the unit job component with the end component. As a result, the flow link is updated as shown in Figure 11.
  • the flow link diagnostic unit 44 diagnoses the branch component using the branch management unit 54. If there is an unconverged branch, the flow link diagnostic unit 44 warns that.
  • the flow link optimization 45 optimizes the flow link in accordance with the flow method of the job management software using the branch optimization unit 58.
  • the branch optimization unit 58 sorts parallel branch parts as shown in Fig. 11 and eliminates branch intersections.
  • Fig. 12 is a diagram for explaining the input / output relationship of the job network generation unit 13.
  • the job network generation unit 13 inputs the intermediate file JCL description, and outputs a flow link and a script file group.
  • FIG. 13 is a flow chart for explaining the processing of the JCL ⁇ intermediate file conversion unit 12.
  • JCL to intermediate file conversion unit 12 opens the JCL file (step 2 1-1) and reads the JCI: description line by line (step 2 1-2).
  • the intermediate file generation unit 32 repeats the conversion process until it receives EOF (End Of File) of the JCL file (steps 2 1 to 3).
  • EOF End Of File
  • the intermediate file generation unit 3 2 searches the conversion dictionary 3 6 (Step 2 1-4), and the read line is converted. Check whether it is a line (is in the conversion dictionary 3 6) or not (step 2 1 5).
  • the intermediate file generation unit 32 converts the line using the search result of the conversion dictionary 36 and outputs the converted line to an intermediate file (step 2 1-8). If it is not the conversion target line, the intermediate file generation unit 32 outputs the read line as it is to the intermediate file (steps 2 1 to 7). When the EOF of the JCL file is reached (step 2 1-3: X), the intermediate file generation unit 32 closes the intermediate file (step 2 1-6). The intermediate file output unit 34 sends the intermediate file created as the conversion result to the job network generation unit 13. I believe. This conversion process converts the JCL file into an intermediate file written in shell language. The intermediate file generator 32 leaves the JCL command line necessary for the subsequent conversion processing as it is as a comment line.
  • FIGS. 14 to 17 are flowcharts for explaining the flow link creation processing of the job network / network generation unit 13.
  • Job network generator in this embodiment 1 Job network generator in this embodiment 1
  • the JCL analysis part of the job network ⁇ ⁇ ⁇ network generation part 13 is included.
  • Step 4 1 Open the intermediate file received from J C L ⁇ intermediate file converter 12 (step 2 2-1), and read the intermediate file one line at a time (step 2 2-2). J C L analysis unit 41 repeats reading of the intermediate file until EOF is input (steps 2 2-3). When the intermediate file EOF is reached (Step 2 2-3: Yes), the J C L analysis unit 4 1 ends the analysis of the intermediate file.
  • the JCL analysis unit 41 determines whether the line read is a JCL instruction.line ( ⁇ J ⁇ B line) (Step 2). 2 2-4). ⁇ J If it is not OB line (Step 2 2-4: No-), J C L analysis unit 4 1 reads the next line. ⁇ J If it is an OB line (Step 2 2-4: Yes), the JCL analysis unit 41 opens the job network 'flow (Step 2 2-5), and shifts to the detailed analysis processing in Figure 15 Do.
  • the flow link creation unit 43 first adds a start part to the base (BAS E) path as an initialization process, and then adds a unit job part, and Start creating.
  • the flow link creating unit 43 further creates a scribble file associated with the unit job component on the storage device B 1 and opens it (step 2-3-1). Script If the read line is other than a JCL instruction line, the file division unit 42 stores the line in the opened script file.
  • JCL analysis unit 41 reads the intermediate file one line at a time (step 23-2) and repeats this reading until EOF (step 23-3). If the read line is the line ⁇ S UB J ⁇ ⁇ ⁇ B (step 23-4), the flow link creation unit 43 closes the unit job component of the base path (step 23-9) and the parallel branch component is used as the base Add to the path (step 23-1 0). Furthermore, the flow link creation unit 43 creates a new unit job component on the parallel branch path (step 2 3 — 1 1). The script file division unit 42 stores all lines up to ⁇ END SUB J OB in the script file associated with this unit job component. After that, the flow link creation unit 43 shifts to parallel branch path processing (step 23-12).
  • the flow link creation unit 43 closes the unit path job part of the base path (step 23-1) 3).
  • the flow link creation unit 43 adds a focus (FOCUS: wait) component to the base path, searches for branches to be converged described as an argument of the ⁇ WA ITS UB line, and then all parallel branch components. Converge with this focus part (step 23-1 14).
  • the flow link creation unit 43 creates a new unit job part on the base path and opens it (step 23-15).
  • the flow link creation unit 43 closes the unit job part of the base path (Ste 23-1 6).
  • the link creation unit 43 adds the focus component to the base path, searches the path of J OBNAME described as an argument of the ⁇ WA IT SUB line, and obtains those parallel branch components. Focus on the focus part (steps 23-17). Subsequently, the flow link creation unit 43 creates a new unit job part next in the base path and opens it (step 23-18).
  • the flow link creation unit 43 ends the creation of the flow link, and the job net ⁇ Close the flow (step 23-19).
  • the flow link creation unit 43 shifts to the ⁇ RUN process (step 23- 20, ).
  • FIG. 16 is a flowchart illustrating parallel branch path processing.
  • the flow link creation unit 43 opens a unit job component in a parallel branch path (step 24-1).
  • the JCL analysis unit 41 reads the intermediate file one line at a time (step 24-2), and repeats this reading until E 0 F is input (step 24-3).
  • the flow link creation unit 43 closes the unit job part (steps 2 to 7) and closes the parallel branch path (step 24 to 8). , Parallel branch Ends path processing. If the read line is not " ⁇ ENDSUB J OB", the flow link creation unit 43 adds it to the script file associated with the unit job component, assuming that the line is a real process line (steps 2 to 9). Do it (Step 24-1 0). '
  • FIG. 17 is a flowchart illustrating the RUN process.
  • the waiting management unit 56 scans the branch (BRANCH) parts and warns of the presence of unconverged branch parts if any.
  • the flow link optimization unit 45 sorts branch parts according to the index (i n d e x) of the focus part.
  • FIG. 18 is a flow chart for explaining output processing of the job network output unit 14.
  • the job network output unit 14 converts the flow link etc. into a job network definition according to the type of job management software according to the flow chart of FIG.
  • the job network output unit 14 determines whether the link structure of the flow link is normal (step 26-1). If not normal, the job network output unit 14 outputs an error. E If it is always, the job network output unit 14 determines whether it is a structure capable of drawing as a job network or a structure capable of outputting a file (step 26-2). With such a structure, the job network output unit 14 renders the link structure as it is as a job network / flow or outputs the file (step 26-3). If not, the job network output unit 14 determines whether or not repair is possible (step 26-4). If repair is possible, the link structure is corrected and the job network Draw as a flow or. File output (step 26-5).
  • the job management software in the open system inputs the job network definition generated by the automatic job network generator 10.
  • the job management software interprets the job network definition, and according to the control flow of parallel execution and convergence (synchronization) represented by the flow link, Generator 10 Starts the generated script and synchronizes the end of the started script.
  • This job management software operation allows an open system to execute jobs on the mainframe described in JCL.
  • the job network automatic generation device 10 of this embodiment has the following effects.
  • the first effect is that the cost of job environment migration from mainframe to open system is significantly reduced.
  • the reason is that the automatic job network generator 10 of this embodiment enables automatic conversion of job networks from JCL, and the man-hours and risk of job migration performed by this method are minimized.
  • the second effect is that the maintainability after the transition to the job environment is greatly improved.
  • the reason is that the job network flow automatically generated by the automatic job network generator 10 is a simple flow with high maintainability. Therefore, job monitoring after job migration and job correction work are much easier than with JCL files.
  • the third effect is that job operation using general job management software can be facilitated.
  • the reason is that it is possible to apply the algorithm used by the automatic job network generator 10 to convert complex flows into simple-shaped flows for flow optimization of general job management software. is there. This is because it is possible to convert the job management software flow into a highly maintainable flow.
  • FIG. 19 is a diagram showing a basic configuration of a jobnet automatic generation apparatus 10 according to the present invention.
  • the job network automatic generation device 10 includes a job network generation unit 13 and a job network output unit 14.
  • the job network / network creation unit 13 creates a script file that describes each job step in association with the flow link that describes the job step control flow in the job from the input JCL file, and the flow link. Do.
  • the job network output unit 14 creates a job network definition file from the flow link and the scribble file.
  • intermediate files are not created by the JCL ⁇ intermediate file creation unit 1 2.
  • the intermediate file is, for example, created on another device and stored in storage device A. It shall be stored in advance in 1.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

 従来の技術では、メインフレーム等で使用されるJCL言語で記述されたジョブを、種々のオープンシステムへ移行させることを支援出来ない。 本発明の一つ目のアスペクトによるジョブネットワーク自動生成装置は、入力したJCLファイルからジョブ内に於けるジョブステップ制御フローを記述するフローリンク、および、前記フローリンクに関連付けられて、各ジョブステップを記述するスクリプトファイルを作成するジョブネットワーク生成手段と、前記フローリンクおよび前記スクリプトファイルから、ジョブネットワーク定義ファイルを作成するジョブネットワーク出力手段とを備える。

Description

明細
ジョブネットワーク自動生成装置、方法及びプログラム記録媒体 技術分野
本発明は、 .ジョブネッ トワーク自動生成装置、 方法及びプログラム記録媒体 に関する。 背景の技術
近年、 多くの企業システムにおいて、 メインフレームから U N I X (登録商 標) サーバや W i n d o w s (登録商標) などの汎用 O Sを使用したオープン システムへのシステム更改が活発に行われている。 しかし、 そのようなシステ ム更改においては、 これまでメインフレーム上で運用されていたジョブ資産の 移行が大きな問題となる。 一般的に、 それらのジョブ資産はジョブ制御言語 ( J C L : J o b C o n t r o l L a n g u a g e ) で記述されているが、 オープンシステム上の汎用ジョブ管理ソフトウェアは、 この言語を解釈できな レ そのため、 これらの J C L記述が表現しているジョブ制御情報を、 汎用ジ ヨブ管理ソフトウエアにおけるジョブネッ トワーク · フロー (流れ図) に移行 することが行われる。
ジョブネッ トワーク · フローの形式は、 各ジョブ管理ソフトウエアによって 種々の形式が存在する。 図 1— 1〜図 1— 4は全て、 同一の順序関係を表した ジョブネッ トワーク · フローである。 一般的なジョブ管理ソフトウエアでは、 特に記述上の制約を設けず、 ユーザに自由な記述を行わせることが多い。 しか し、 制約を設けない方式の場合、 同じ順序関係を表現するジョブネッ トワーク • フローを作成しても、 作業者の感性によって、 完成するジョブネッ トワーク ' フローが、 図 1— 2になるか図 1 一 3になるかは定かではない。 同じ順序関 係で、 異なる様々な形状のジョブネッ トワーク · フローが混在することは、 ジ ヨブ移行時のテス卜の効率性の点からも、 移行後の保守性の点からも問題とな る。
この問題の解決のため、 図 1 一 1のように、 始点と終点をあらかじめ固定し 、 ジョブネッ トワーク · フローの線の引かれ方をジョブ管理ソフトウェア側で 制限するジョブ管理ソフトウェアが存在する。 この制限のおかげで、 順序関係 が与えられたとき、 ほぼ一意のジョブネッ トワーク · フローが作成される。 こ のジョブ管理ソフトウエアは、 誰がジョブネッ トワーク · フローを作成しても 、 同様の形式のフローになり、 保守性の高い平易なジョブネッ トワーク · フ口 —を作成できることを訴求している。
しかし、 そのようなジョブ管理ソフトウエア上に J C Lファイルを移行する ためには、 J C L記述を、 その形式の平易なジョブネッ トワーク · フローに変 換する必要がある。 この変換に際しては、 いくつかの問題点が存在する。 第 1の問題点は、 変換作業をシステムエンジニアの人手によって行った場合 、 J C Lファイルが大量に存在するユーザ環境では、 人為的ミスによる品質低 下が発生することである。 そのリカバリをするために実施されるテスト作業は 、 膨大なコストを必要とする。 そのため、 移行作業を自動化する必要がある。 第 2の問題点は、 次の通り.である。 J C Lファイルは、 コマンドイン夕プリ 夕的な文法の実処理記述の中に、 並列実行や待ち合わせなどの制御命令を記述 する特殊な制御情報を含む。 そして、 制御命令には、 ¥ S UB J〇B ¥EN D S UB J OB (並列実行) のように任意の箇所に記述することが可能な制御 命令と、 ¥WA I T S UBのように記述した箇所で明確に待ち合わせが行われ る制御命令とが存在する。 このような J C Lファイルを、 単純な自動変換ツー ルで変換した場合、 図 1一 4のような線の交差が発生するような煩雑なジョブ ネッ トワーク · フローが生成されてしまうことが多々ある。 この場合、 作成さ れたジョブネッ トワーク · フローを前述のジョブ管理ソフトウエアに適用する ことができなくなる。
関連技标 ίとしては、 以下のような発明が知られる。 特開 2 0 0 1— 1 6 6 9 2 8号公報 (特許文献 1参照) には、 ジョブネッ トを自動生成する自動生成装 置の発明が記載されている。 自動生成装置は、 ジョブネッ トの設計情報 (シス テムフロー、 ジョブフロー、 同一ジョブ、 デ一夕項目情報定義、 レコード情報 定義、 ファイル情報定義、 運用スケジュール) を入力する画面から、 設計情報 を一元管理するデータベースを作成する。 この自動生成装置は、 登録された運 用スケジュールより、 ジョブネッ ト構成ファイル生成機構を通じて、 ジョブネ ッ ト構成ファイルを生成する。 この自動生成装置は、 ジョブネッ トワーク - フ 口一を入力とするものであり、 J C Lファイルを入力とするものではない。 特開 2 0 0 1— 2 8 2 5 4 9号公報 (特許文献 2参照) には、 プログラム変 換装置の発明が記載されている。 プログラム変換装置は、 複数のプログラム力 ゥン夕と、 複数のスレッ ド実行装置とを備える。 複数のスレッ ド実行装置は、 制御投機的モードでスレッ ドを実行すること、 データ依存投機的モードでスレ ッ ドを実行することが可能とされる。 制御投機的モードは、 複数のプログラム カウン夕に従って、 複数のスレッ ドの命令を、 同時に、 フェッチ、 解釈、 実行 し、 スレッ ド生成時以降に、 レジスタセッ トに及ぼした変更を、 後に取り消し 可能なモードである。 データ依存投機的モードは、 自スレッ ドがメモリ領域か ら値をロードした後に、 自スレッ ドを生成した親スレッ ドが同一メモリ領域に 値をストァした場合に、 自スレツ ドの少なくとも当該ロード以降の処理結果を 破棄し、 それらの処理を再実行するモードである。
プログラム変換装置は、 与えられた原始プログラムをマルチスレツ ドプロセ ッサ向けに変換する。 マルチスレッ ドプロセッサは、 命令セッ トとして、 次の 処理を、 単一又は高々数個の機械語命令の組み合わせで実行できる命令セッ ト を有する。 第一の処理は、 スレ ド実行装置で実行中のスレッ ドが制御投機的 モードの新たなスレッ ドを生成することである。 第二の処理は、 指定された条 件が成立していれば自スレツ ドを終了させると共に、 自スレツ ドが生成した制 御投機的モードのスレツ ドの制御投機的モードを解除することである。 第三の 処理は、 生成した制御投機的モードのスレッ ドを破棄することである。 第四の 処理は、 自スレツ ドが生成するスレツ ドが指定されたァドレスのメモリ領域か らのロードを行う際に、 その動作を一時停止させることをあらかじめ指示する ことである。 第五の処理は、 指定されたメモリアドレスに対する前記ロード一 時停止指示を解除することである。 第六の処理は、 スレッ ド実行装置で実行中 のスレツ ドがデ一夕依存投機的モードの新たなスレツ ドを生成することである 。 第七の処理は、 自スレッ ドが生成したデータ依存投機的モードのスレッ ドの デ一夕依存投機的モードを解除することである。
プログラム変換装置は、 レジス夕割り当て試行部と、 フォーク (F O R K ) 箇所決定部と、 命令並べ換え部と、 レジス夕割り当て部とを備える。 レジスタ 割り当て試行部は、 並列化に先立ってレジス夕割り当てを試み、 中間プログラ ム上の各変数、 及び中間項のレジス夕割り当て状況を予測する。 フォーク箇所 決定部は、 レジス夕割り当て試行部のレジスタ割り当て試行結果に基づいて、 中間プログラム,における条件分岐部分を、 スレツ ド生成命令を用いた並列コー ドに変換するか否か決定.する。 さらに、 フォーク箇所決定部は、 並列コードの 並列実行方式の決定を行う。 命令並べ換え部は、 フォーク箇所決定部での決定 結果に基づいて、 中間プログラム中の条件分岐部分を、 ズレッ ド生成命令を用 いた並列コードに変換する。 そして、 命令並べ換え部は、 レジスタ割り当て試 行結果を参照して、 スレッ ド間のメモリを介したデータ依存関係を保証する命 令を、 スレッ ド生成命令の前後に挿入すると共に、 スレッ ド生成が早い段階で 行われるように、 スレッ ド生成命令の前後の命令を並べ換える。 レジスタ割り 当て部は、 並列化され並べ換えられた命令列に対して、 物理レジス夕が割り当 てられるか否かに関して、 レジス夕割り当ての試行時と同じ割り当て結果とな るように確定的なレジス夕割り当てを行う。
このプログラム変換装置はコンパイラであり、 その目的は、 プロセス間のデ —夕依存性の回避と並列処理の効率化である。
特開 2 0 0 7— 2 5 7 3 8 4号公報 (特許文献 3参照) には、 バッチ系のシ ステム設計図を自動的に生成するジョブネッ ト図自動生成 置の発明が記載さ れている。 ジョブネッ ト図自動生成装置は、 デ一夕べ一ス部と、 当該デ一夕べ ース部から情報を検索し表示する情報抽出表示部とよりなる。 データベース部 は、 バッチ系を構成するジョブ、 プログラム及びファイルの I Dを示すジョブ 情報、 プログラム情報及びファイル情報と、 ジョブ及びファイルの分類を示す ジョブ分類情報及びファイル分類情報と、 上記各情報の関連付けを示す関連付 け情報とを有する。 情報抽出表示部は、 抽出するステップと、 生成するステツ プを実行するプログラムを備える。 情報抽出表示部は、 抽出するステップにお いて、 ジョブの分類情報を指定して、 当該分類を有するジョブ情報をデータべ ース部から抽出する。 情報抽出表示部は、 生成するステップにおいて、 関連付 け情報より抽出されたジョブ情報の前後関係を判断してジョブ情報の関連を示 す図形を生成する。 このジョブネッ ト図自動生成装置では、 順序関係情報を元 に、 どのようなポリシーで、 ジョブネッ トワーク · フローを作成するのかが明 確でない。 そのため、 ジョブ数が巨大で、 順序関係が入り組んでいる場合には 、 作成されたジョブネッ 卜ワーク · フローが、 煩雑で、 理解しにくく、 実用に 耐えないものとなる可能性が高い。 また、 ジョブネッ トワーク · フローが、 変 換のたびに(フローが図示する論理的意味は同じだが、 人が視覚出来る 「絵」 と して)異なるフローに変換されてしまう可能性がある。
特開平 8— 1 4 7 1 5 6号公報 (特許文献 4参照) には、 プログラム移植シ ステムの発明が記載されている。 プログラム移植システムは、 移植元のコンビ ユー夕システムでジョブ制御言語を用いて自動実行されている一連のプロ.グラ ムを、 移植先のコンピュータシステム上で自動実行可能なよ にプログラム移 植する。 プログラム移植システムは、 ジョブ制御プログラム入力手段と、 入力 ファイル存在検索手段と、 論理関係精査手段と、 外部参照ファイル入力手段と 、 ログリスト出力手段と、 変更プログラム出力手段とを備える。
ジョブ制御プログラム入力手段は、 移植元のコンピュータシステム用のジョ ブ制御言語で記述されたジョブ制御プログラムを入力する。 入力ファイル存在 検索手段は、 ジョブ制御プログラムのファイル指定文中で指定された入力ファ ィルに該当するファイルが移植先のコンピュータシステム内の記憶装置上に存 在するか否かを検索する。 論理関係精査手段は、 ジョブ制御プログラムに記述 されている論理関係を精査する。 外部参照ファイル入力手段は、 ジョブ制御プ ログラムに記述されている外部参照ファイルに該当するファイルを移植先の;] ンピュー夕システム内の記憶装置から入力する。 ログリスト出力手段は、 プロ グラム入力手段、 入力ファイル存在検索手段、 論理関係精査手段及び外部参照 ファイル入力手段でエラーが生じた場合にエラーの存在を示すログリストを出 力する一方、 エラ一が生じなかった場合にエラ一の不存在を示すログリストを 出力する。 変更プログラム出力手段は、 プログラム入力手段、 入力ファイル存 在検索手段、 論理関係精査手段及び外部参照ファイル入力手段でエラーが生じ なかった場合に、 ジョブ制御プログラムを移植先のコンピュータシステム用に 変更して出力する。
このプログラム移植システムは、 フロー形状の簡易化や最適化、 並びに、 ジ ヨブネッ トワーク · フローの可読性および可視化を向上することは出来ない。 さらに、 プログラム移植システムは、 ジョブ実行環境の管理工数 ·運用工数 - 保守工数の削減にも有用ではない。 [特許文献 1 ]特開 2 0 0 1— 1 6 6 9 2 8号公報
[特許文献 2 ]特開 2 0 0 1 - 2 8 2 5 4 9号公報
[特許文献 3 ]特開 2 0 0 7— 2 5 7 3 8 4号公報
[特許文献 4 ]特開平 8 — 1 4 7 1 5 6号公報 発明の開示
発明が解決しょうとする課題
上記特許文献の技術は、 メインフレーム等で使用される J C L言語で記述さ れたジョブを、 種々のオープンシステムへ移行させることを支援出来ない。 そ の理由は、 上述したとおりである。 本発明は、 上記課題を解決するための、 ジ ョブネッ トワーク自動生成装置、 方法及びプログラム記録媒体を提供する。 課題を解決するための手段
本発明の一つ目のアスペク トによるジョブネッ トワーク自動生成装置は、 入 力した J C Lファイルからジョブ内に於けるジョブステップ制御フローを記述 するフローリンク、 および、 前記フローリンクに関連付けられて、 各ジョブス テツプを記述するスクリプトファイルを作成するジョブネッ トワーク生成手段 と、 前記フローリンクおよび前記スクリプトファイルから、 ジョブネッ トヮ一 ク定義ファイルを作成するジョブネッ トワーク出力手段とを備える。
本発明の二つ目のァスぺク 卜による記録媒体に記録されたジョブネッ トヮー ク自動生成プログラムは、 コンピュータに、 入力した J C Lファイルからジョ ブ内に於けるジョブステップ制御フローを記述するフローリンク、 および、 前 記フローリンクに関連付けられて、 各ジョブステップを記述するスクリプトフ アイルを作成するジョブネッ トワーク生成処理と、 前記フローリンクおよび前 記スクリブトファイルから、 ジョブネッ トワーク定義ファイルを作成するジョ ブネッ トワーク出力処理とを実行させる。
本発明の一つ目のアスペク トによるジョブネッ トワーク自動生成方法は、 コ ンピュー夕が、 入力した J C Lファイルからジョブ内に於けるジョブステップ 制御フローを記述するフローリンク、 および、 前記フローリンクに関連付けら れて、 各ジョブステップを記述するスクリプトファイルを作成し、 前記フロー リンクおよび前記スクリプトファイルから、 ジョブネッ トワーク定義ファイル を作成する。
発明の効果
本発明のジョブネッ 卜ワーク自動生成装置は、 メインフレーム等で使用され る J C L言語で記述された J C Lファイルを、 ジョブネッ トワーク定義フアイ ルに変換することができる。
図面の簡単な説明
[図 1— 1 ] 図 1— 1は、 同一の順序関係を表したジョブネッ 卜ワーク - フローを示す第一の図である。
[図 1 .一 2 ] 図 1 一 2は、 同一の順序関係を表したジョブネッ トワーク · フローを示す第二の図である。
[図 1 一 3 ] 図 1 一 3は、 同一の順序関係を表したジョブネッ トワーク - フローを示す第三の図である。
[図 1 一 4 ] 図 1 一 4は、 同一の順序関係を表したジョブネッ トワーク - フローを示す第四の図である。
[図 2 ] 図 2は、 ジョブネッ トワーク自動生成装置の全体構成を示す図で ある。 .
[図 3 ] 図 は、 J C L→中間ファイル変換部の構成図である。
[図 4 ] 図 4は、 ジョブネッ トワーク生成部の構成図である。
[図 5 ] 図 5は、 スクリプトファイル分割部の機能説明図である。
[図 6 ] 図 6は、 フ□一りンク作成部の機能説明図である。
[図 7 ] 図 7は、 フ口一りンク作成方法の第一の説明図である。
[図 8 ] 図 8は、 フ□ —リンク作成方法の第二の説明図である。
[図 9 ] 図 9は、 フ□ーリンク作成方法の第三の説明図である。
[図 1 0 ] 図 1 0は、 フローりンク作成方法の第四の説明図である。
[図 1 1 ] 図 1 1は、 フローリンク作成方法の第五の説明図である。 '
[図 1 2 ] 図 1 2は、 フローリンク作成方法の第六の説明図である。
[図 1 3 ] 図 1 3は、 J C L—中間ファイル変換部による処理を説明する 流れ図である。
[図 1 4 ] 図 1 4は、 フローリンク作成方法を説明する第一の流れ図であ る。 [図 1 5] 図 1 5は、 フローリンク作成方法を説明する第二の流れ図であ る
[図 1 6] 図 1 6は、 フローリンク作成方法を説明する第三の流れ図であ る
[図 1 7] 図 1 7は、 フローリンク作成方法を説明する第四の流れ図であ る
[図 1 8] 図 1.8は、 ジョブネッ 卜ワーク出力部の出力処理を説明する流 れ図である。
[図 1 9 ] 図 1 9は、 本発明にかかるジョブネッ トワーク自動生成装置 1 0の基本的構成を示す図である。
符号の説明
1 ジョブネッ トワーク自動生成装置
1 J CLファイル入力部
1 J C L→中間ファイル変換部
1 ジョブネッ トワーク生成部
1 ジョブネッ トワーク出力部
3 中間ファイル生成部
3 間ファイル出力部
3 変換辞書
4 J CL解析部
4 スクリプトファイル分割部
4 フローリンク作成部
4 フローリンク診断部
4 フローリンク最適化部
5 幹管理部
5 枝管理部
o 待合管理部
5 枝最適化部 発明を実施するための最良の形態 本発明を実施するための最良の形態の一つについて、 図面を参照して詳細に 説明する。 図 2は、 一つの実施の形態におけるジョブネッ トワーク自動生成装 置の全体構成を示す。 ジョブネッ トワーク自動生成装置 1 0は、 J C Lフアイ ル入力部 1 1 と、 J C L→中間ファイル変換部 1 2と、 ジョブネッ トワーク生 成部 1 3と、 ジョブネッ トワーク出力部 1 4とを有する。 J C Lファイル入力 部 1 1は、 記憶装置 A 1から変換対象である J C Lファイルを読み出す。 J C L→中間ファイル変換部 1 2は、 J C Lファイルを解析し、 J C Lファイルを 汎用 U N I X (登録^標) O Sが解釈可能なシ ル言語で記述された中間ファ ィルに変換する。 ジョブネッ トワーク生成部 1 3は、 中間ファイル内の J C L 記述を解析してフローリンクを作成する。 ジョブネッ トワーク生成部 1 3は、 更に、 当該中間ファイルをジョブ · スクリプトに分割する。 ジョブネッ トヮ一 ク出力部 1 4は、 作成されたフローリンクとジョブ · スクリプトとを、 ジョブ ネッ 卜ワーク定義ファイルに変換して出力する。
J C Lファイル入力部 1 1 と、 J C L→中間ファイル変換部 1 2と、 ジョブネ ッ トワーク生成部 1 3と、 ジョブネッ トワーク出力部 1 4とは、 ハードウェア で実現される。 J C Lファイル入力部 1 1 と、 J C L→中間ファイル変換部 1
2と、 ジョブネッ トワーク生成部 1 3と、 ジョブネッ トワーク出力部 1 4は、 コンピュータでもあるジョブネッ トワーク自動生成装置 1 0のプロセッサがメ モリ上のプログラムを実行することで実現されても良い。
図 2のジョブネッ トワーク自動生成装置 1 0は、 記憶装置 A 1から J C Lフ アイル群を入力し、 記憶装置 B 1へジョブネッ トワーク定義ファイル群を出力 する。
図 3は、 J C L→中間ファイル変換部 1 2の構成図である。 J C L→中間フ アイル変換部 1 2は、 中間ファイル生成部 3 2と、 中間ファイル出力部 3 4と 、 変換辞書 3 6とを有する。 中間ファイル生成部 3 2.は、 J C Lファイル入力 部 1 1によって記憶装置 A 1から取り出された J C Lファイルを、 中間フアイ ルに変換する。 中間ファイル出力部 3 4は、 生成された中間ファイルを出力す る。 変換辞書 3 6は、 予め準備されたものである。 中間ファイル生成部 3 2は 、 この変換辞書 3 6を参照して変換処理を行う。 変換辞書 3 6は、 J C Lとシ エルスクリプトとの対応表が格納されている。 . 図 4は、 ジョブネッ 卜ワーク生成部 1 3の構成図である。 ジョブネッ トヮ一 ク生成部 1 3は、 J CL解析部 4 1と、 スクリプトファイル分割部 42と、 フ 口一リンク作成部 43と、 フローリンク診断部 44と、 フローリンク最適化部 45とを有する。 J CL解析部 4 1は、 中間ファイル内の J C L記述を走査し 、 分析する。 スクリプトファイル分割部 42は、 J C L解析部 4 1から J C L 記述内の実処理行 (ジョブとして実行される処理を記述した行) を受け取り、 記憶装置 B 1のスクリブトファイルに格納する。 フローリンク作成部 43は、 J CL解析部 4 1から J CL記述内の J CL命令行 (フロー制御行) を受け取 り、 命令行の種類に従って、 主記憶 MEM 1のフローリンクに、 フロー部品を 追加する。 フローリンク診断部 44は、 フローリンク作成部 43が作成したフ ローリンクが正しい構造になっているかどうかを診断する。 フローリンク最適 化部 45は、 フローリンクの構造を変更して、 フローリンクを最適化する。 図 5は、 スクリプトファイル分割部 42の機能説明図である。 J CL解析部 4 1は、 入力された. J C L記述を順次走査し、 走査している行が、 J CL命令 行であるか、 それ以外の行 (即ち、 実処理行) であるかを判別する。 J CL命 令行であると判別した場合、 J CL解析部 4 1は、 その J CL命令行をフロー リンク作成部 43へ渡す。 一方、 実処理行であると判別した場合、 J CL解析 部 4 1は、 その実処理行をスクリプトファイル分割部 42へ渡す。
スクリプトファイル分割部 42は、 実処理行を、 記憶装置 B 1に作成した複 数個のスクリプトファイルに分割して格納する。 各スクリプトファイルは、 い ずれかの幹若しくは枝に関連付けられるスクリプトファイルとして、 J CL命 令行の出現時に、 フローリンク作成部 43によって、 オープン (OPEN) 、 クローズ (CLOS E) される。
図 6は、 フローリンク作成部 43の機能説明図である。 フローリンク作成部 43は、 幹管理部 52と、 枝管理部 54と、 待合管理部 56とを有し、 主記憶 MEM 1.を使用してフローリンクを作成する。 フローリンク作成部 43は、 J CL解析部 4 1から J CL命令行を受け取り、 受け取った J C L命令行を、 幹 管理部 52、 枝管理部 54、 待合管理部 56に振り分ける。
フローリンク作成部 43は、 J C L記述で記述された制御の流れを、 以下の ように解釈する。 1. ¥ S UB J OB命令と ¥END S UB'J OB命令の間の行は 「枝」 である
2. 上記以外の全ての J C L命令行 (¥ J OB命令や ¥END J OB命令など ) は 「幹」 である。
3. ¥WA I TSUB命令は、 ¥ S U B J O Bにより派生された 「枝」 の待合 点 (収束点) である。
4. J CLは、 基本となる 「幹」 から 0個以上の 「枝」 が派生し、 それらが待 合によって収束する制御の流れを記述している。 ' フローリンク作成部 43は、 以下の部品を用いてフローりンクを作成する。 · ス夕ニト (START) 部品
• エンド (END) 部品
•単位ジョブ部品
•並列分岐部品
• イベント送信部品
· イベント受信部品
図 7〜図 1 2は、 フローりンク作成部 43によるフローリンク作成方法を説 明する図である。 まず、 フローリンク作成部 43は、 主記憶 MEM 1に展開さ れるフローリンクに、 スタート部品を格納する。 次に、 J CL解析部 4 1が、 _1じし命令行の¥ >108 D a i l y. (¥STEP J OB 1) をフローリン ク作成部 43へ送り、 幹管理部 52がフローを更新し、 単位ジョブ部品の幹 1 を追加する。続いて、 J C L解析部 4 1が、 J C L命令行の ¥ S U B J O B S UB 1 (¥ S T E P J OB 2) をフローリンク作成部 43へ送り、 枝管理部 54がフローを更新し、 並列分岐部品の並列 1 , 枝 1を追加する。 J CL解析 部 4 1が、 J CL命令行の ¥ J OB 3 (¥ S T E P J OB 3) をフローリン ク作成部 43へ送ると、 幹管理.部 54は、 現状の単位ジョブ部品の幹 1を保持 すると共に、 待合点に関連付ける新しい単位ジョブ部品として、 幹 2を生成す る。 .
図 7は、 フローリンク作成部 43が J CL命令行の ¥ SUB J〇B SUB 2 (¥ S T E P J OB 4) を受け取ったときの動作説明図である。 図 7にお いて、 枝管理部 54は、 ¥SUB J OB SUB 2を受け取ると、 並列分岐部 品の並列 2, 枝 2を新規にフローリンクへ追加する。 具体的には、 枝管理部 5 4は、 枝を管理しており、 並列分岐部品の並列 2, 枝 2を、 並列分岐部品の並 列 1, 枝 1に並列に配置して、 フローリンクに追加する。 すなわち、 枝管理部 54は、 枝となる ¥SUB J〇 B命令と ¥ END S UB J O B命令までの処理 を並列に実行させるために、 フローリンクに並列実行を表す並列分岐部品を追 加する。 このとき、 枝管理部 54は、 その分岐パスに次の枝を新規作成し、 更 にその収束を管理する。 また、 枝管理部 54は、 枝 nにスクリプトファイルを 関連付け、 ¥ S U B J O Bから ¥ E ND S U B J O Bまでの全ての行を、 この 枝 nに関連付けて格納する。
幹管理部 52が幹部分を管理する。 幹管理部 52は、 ¥SUB J OB命令若 しくは ¥WA I T S UB命令を検出するまで、 全ての実処理行を同一のスクリ ブトファイルに記録する。 このとき、 スクリプトファイル分割部 42は、 それ らの全ての実処理行を、 その幹に関連付けられた同一のスクリプ卜ファイルに 記録する。
図 8は、 フローリンク作成部 43が J C L命令行の ¥WA I T S U Bを受け 取ったときの動作説明図である。 幹管理部 52は、 ¥WA I TSUBを受け取 る前の段階で、 既に、 待合点に関連付ける幹 2を生成している。 図示するよう に、 フローリンク作成部 43が ¥WA I T S UBを受け取ると、 待合管理部 5 6が、 最新の幹 2の後に待合部品 (フォーカス (FOCUS) 部品ともいう。 ) の待合 1を追加する。 また、 幹管理部 52は、 幹 1に関連付けられるスクリ ブトファイルをクローズし、 幹 2に関連付けられるスクリプトファイルをォ一 プンする。
図 9〜図 1 1は、 枝の収束方法を説明する図である。 待合部品の待合 1が追 加されると、 フローリンク作成部 43は、 フローリンクの枝を収束する。 図 9 に示すように、 枝管理部 54は、 待合管理部 56に、 ¥WA I TSUB行の引 数として記載されている収束すべき枝を検索させる。 そして、 枝管理部 54は 、 まず、 枝 1と待合 1とを結合する。 また、 幹管理部 52は、 並列 2の後ろに 幹 2を結合する。 その結果、 フローリンクは、 図 1 0に示すように更新される 続いて、 枝管理部 54は、 枝 2の収束を試みる。 待合管理部 56.は、 新規に 待合部品の待合 2を生成し、 待合 1の後ろに、 この待合 2を結合する。 枝管理 部 54は、 枝 2と待合 2とを結合する。 このようにして、 ¥WA I T S UBを 読み込んだときの処理が終了する。 J C L解析部 4 1が J C L記述の最後まで 走査を進めると、 フローリンク作成部 4 3は、 単位ジョブ部品の幹 3とエンド 部品とを結合する。 その結果、 フローリンクは、 図 1 1に示すように更新され る。
J C L記述の走査が完了すると、 フローリンク診断部 44が、 枝管理部 54 を用いて、 枝部品の診断を行う。 未収束の枝が存在すれば、 フローリンク診断 部 44は、 その旨を警告する。 次に、 フローリンク最適化 4 5が、 枝最適化部 5 8を用い、 ジョブ管理ソフトウェアのフロー方式に合わせて、 フローリンク を最適化する。 枝最適化部 5 8は、 図 1 1に示すように、 並列分岐部品のソー トを行い、 枝の交差を解消する。 図 1 2は、 ジョブネッ トワーク生成部 1 3の 入出力関係を説明する図である。 ジョブネッ トワーク生成部 1 3は、 中間ファ ィルの J C L記述を入力し、 フローリンクと、 スクリプトファイル群とを出力 する。
図 1 3は、 J C L→中間ファイル変換部 1 2の処理を説明する流れ図である 。 J C L→中間ファイル変換部 1 2は、 J C Lファイルをオープンし (ステツ プ 2 1— 1 ) 、 J C I:記述を一行ずつ読み込む (ステップ 2 1 — 2 ) 。 中間フ アイル生成部 3 2は、 J C Lファイルの EO F (E n d O f F i l e) を 入力するまで変換処理を繰り返す (ステップ 2 1 _ 3) 。 J C Lファイルの E OFを入力する (ステップ 2 1— 3 : イエス) まで、 中間ファイル生成部 3 2 は、 変換辞書 3 6を検索し (ステップ 2 1 - 4) 、 読み込ん.だ行が、 変換対象 行であるか (変換辞書 3 6に載っているか) 否かを調べる (ステップ 2 1 一 5 ) 。 変換対象行であれば、 中間ファイル生成部 3 2は、 変換辞書 3 6の検索結 果を用いて当該行を変換し、 中間ファイルに出力する (ステップ 2 1— 8) 。 変換対象行で無ければ、 中間ファイル生成部 3 2は、 読み込んだ行をそのまま 中間ファイルに出力する (ステップ 2 1 — 7 ) 。 J C Lファイルの EOFに到 達したら (ステップ 2 1— 3 : ィ Xス) 、 中間ファイル生成部 3 2は、 中間フ アイルをクローズする (ステップ 2 1— 6) 。 中間ファイル出力部 34は、 変 換結果として'作成された中間ファイルを、 ジョブネッ トワーク生成部 1 3へ送 信する。 この変換処理によって、 J C Lファイルはシェル言語で記述された中 間ファイルに変換される。 中間ファイル生成部 3 2は、 以後の変換処理に必要 な J C L命令行は、 コメント行としてそのまま残す。
図 1 4〜図 1 7は、 ジョブネッ 卜ワーク生成部 1 3のフローリンク作成処理 を説明する流れ図である。 本実施の形態におけるジョブネッ トワーク生成部 1
3は、 以下の J C L命令行からフローリンクを生成する。
¥ J O B ( J C L記述の開始)
¥ E N D J O B ( J C L記述の終了)
¥ S UB J OB (並列実行処理記述の開始)
¥END S UB J OB (並列実行処理記述の終了)
¥WA J T S UB (指定された ¥ S U B J〇 Bの終了同期 ·終了待ち合わせ)
¥ RUN (指定された J CLファイルを起動)
図 1 4に示すように、 ジョブネッ 卜ワーク生成部 1 3が有する J C L解析部
4 1は、 J C L→中間ファイル変換部 1 2から受け取った中間ファイルをォー プンすると (ステップ 2 2— 1 ) 、 中間ファイルを一行ずつ読み込む (ステツ プ 2 2— 2) 。 J C L解析部 4 1は、 中間ファイルの読み込みを、 EOFを入 力するまで繰り返す (ステップ 2 2— 3 ) 。 J C L解析部 4 1は、 中間フアイ ルの EOFに到達したら (ステップ 2 2— 3 : イエス) 、 中間ファイルの解析 をエラ一終了する。
中間ファイルの E O Fに到達する (ステップ 2 2— 3 : イエス) まで、 J C L解析部 4 1は、 読み込んだ行が、 J C L命令.行 (¥ J〇B行) であるかを判 別する (ステップ 2 2— 4) 。 ¥ J OB行でなければ (ステップ 2 2— 4 : ノ ―) 、 J C L解析部 4 1は次の行を読み込む。 ¥ J OB行であれば (ステップ 2 2— 4 : イエス) 、 J C L解析部 4 1は、 ジョブネッ トワーク ' フローをォ —プンし (ステップ 2 2— 5) 、 図 1 5の詳細解析処理に移行する。
図 1 5の詳細解析処理において、 フローリンク作成部 4 3は、 まず、 初期化 処理として、 ベース (BAS E) パスにスタート部品を追加し、 その次に単位 ジョブ部品を追加し、 フローリンクの作成を開始する。 フローリンク作成部 4 3は、 更に、 記憶装置 B 1に、 その単位ジョブ部品に関連付けられたスクリブ 卜ファイルを新規作成し、 オープンする (ステップ 2 3— 1 ) 。 スクリプトフ アイル分割部 42は、 読み込んだ行が J CL命令行以外であれば、 その行をォ —プンされているスクリプトファイルに格納する。
J C L解析部 4 1は、 中間ファイルを一行ずつ読み込み (ステップ 23 - 2 ) 、 この読み込みを EOFまで繰り返す (ステップ 23— 3) 。 フローリンク 作成部 43は、 読み込んだ行が ¥ S UB J〇 B行であれば (ステップ 23— 4 ) 、 ベースパスの単位ジョブ部品をクローズし (ステップ 23— 9 ) 、 並列分 岐部品をベースパスに追加する (ステップ 23— 1 0) 。 フローリンク作成部 43は、 更に、 並列分岐パスに単位ジョブ部品を新規作成する.(ステップ 2 3 — 1 1 ) 。 スクリプトフアイル分割部 42は、 ¥END SUB J OBまでの全 ての行を、 この単位ジョブ部品に関連付けられたスクリプトファイルに格納す る。 その後、 フローリンク作成部 43は、 並列分岐パス処理へ移行する (ステ ツプ 23— 1 2 ) 。
フローりンク作成部 43は、 読み込んだ対象行が ¥W A I T SUB行であり 、 かつ、 J OBNAMEの引数が無ければ (ステップ 23— 5) 、 ベースパス の単位ジョブ部品をクローズする (ステップ 23 - 1 3) 。 次に、 フローリン ク作成部 43は、 ベースパスにフォーカス (FOCUS :待合) 部品を追加し 、 ¥WA I T S UB行の引数として記載されている収束すべき分岐を検索して 、 全ての並列分岐部品をこのフォーカス部品で収束させる (ステップ 23— 1 4) 。 フローリンク作成部 43は、 続いて、 ベースパスに次の単位ジョブ部品 を新規作成し、 オープンする (ステップ 23— 1 5) 。
フローリンク作成部 43は、 もし、 読み込んだ対象行が ¥WA I T S UB行 であり、 かつ、 その引数が J OBNAMEであれば (ステップ 23— 6) 、 ベ —スパスの単位ジョブ部品をクローズする (ステップ 23 - 1 6) 。 次に、 フ 口一リンク作成部 43は、 ベースパスにフォーカス部品を追加し、 ¥WA I T SUB行の引数として記載されている J OBNAMEのパスを検索して、 それ らの並列分岐部品をこのフォーカス部品で収束させる (ステップ 23 - 1 7) 。 続いて、 フローリンク作成部 43は、 ベースパスに次の単位ジョブ部品を新 規作成し、 オープンする (ステップ 23— 1 8) 。
フローリンク作成部 43は、 もし、 読み込んだ対象行が ¥ END J〇B行で あれば (ステップ 23— 7) 、 フローリンクの作成を終了し、 ジョブネッ トヮ ーク · フローをクロ一ズする (ステップ 23— 1 9) 。
フローリンク作成部 43は、 もし、 読み込んだ対象行が ¥RUN行であり、 そめパラメータ値が HOLD = Nであれば (ステップ 23— 8) 、 ¥RUN処 理に移行する (ステップ 23— 20,) 。 パラメ一夕値の HOLD = Nは、 引数 となる J O B NAMEが N回有効化 (^ACT I VATE) されるのを待って から、 J OBNAMEを実行する (¥RUN) ことを意味する。
フローリンク作成部 43は、 もし、 読み込んだ対象行が ¥ S UB J OB行で もなく、 ¥WA I T S U B行でもなく、 ¥ E ND J O B行でもなく、 かつ、 そ のパラメータ値が HOLD = Nである ¥ RUN行でも無い場合には、 読み込ん だ行は、 識別子行ではないと判断する (ステップ 2 3— 2 1) 。 スクリプトフ アイル分割部 42は、 この行をオープンされている単位ジョブ部品に関連付け られたスクリプトファイルに追加する (ステップ 2 3— 22 ) 。
図 1 6は、 並列分岐パス処理を説明する流れ図である。 フローリンク作成部 43は、 まず、 並列分岐パスに単位ジョブ部品をオープンする (ステップ 24 — 1) 。 次に、 J CL解析部 41は、 中間ファイルを一行ずつ読み込み (ステ ップ 24— 2) 、 この読み込みを、 E〇 Fを入力するまで繰り返す (ステップ 24- 3) 。 フローリンク作成部 43は、 読み込んだ行が、 " ¥RUN HO L D = O N " 又は" ¥ACT I VATE" のいずれかであるか否かを判定する (ステップ 24— 4) 。 いずれかであれば、 フローリンク作成部 43は、 ¥R UN処理へ進む (ステップ 24— 5) 。 どちらでも無ければ、 フローリンク作 成部 43は、 読み込んだ行が" ¥ END SUB J OB" であるか否かを判定す る (ステップ 24— 6) 。 読み込んだ行が" ¥ENDSUB J OB" であれば 、 フローリンク作成部 43は、 その単位ジョブ部品をクローズし (ステップ 2 4一 7) 、 当該並列分岐パスをクローズして (ステップ 24— 8) 、 並列分岐 パス処理を終了する。 読み込んだ行が、 " ¥ENDSUB J OB" でも無けれ ば、 フローリンク作成部 43は、 その行は実処理行であるとして (ステップ 2 4一 9) 、 単位ジョブ部品に関連付けられたスクリプトファイルに追記する ( ステップ 24— 1 0) 。 '
図 1 7は、 RUN処理を説明する流れ図である。 図 1 7において、 " ¥RU N HOL D =〇N" である場合、 フローリンク作成部 43は、 単位ジョブ部 品をクローズし (ステップ 2 5— 1) 、 イベント受信部品を N個作成する (ス テツプ 25— 2) 。 フローリンク作成部 43は、 続いて、 フローリンクにサブ ジョブネッ 卜ワーク" J OBNAME" を作成し (ステップ 2 5— 3) 、 次の 単位ジョブをオープンする (ステップ 25— 4) 。 一方、 " ¥RUN HO L D =〇N" では無い場合、 フローリンク作成部 43は、 単位ジョブ部品をクロ —ズし (ステップ 2 5— 5) 、 イベント送信部品を作成する (ステップ 2 5— 6) 。 フローリンク作成部 43は、 続いて、 次の単位ジョブ部品をオープンす る (ステップ 25— 7) 。
J C L記述の走査が完了すると、 待合管理部 56が、 ブランチ (BRANC H) 部品の走査を行い、 未収束のブランチ部品が存在すれば、 その旨を警告す る。 次に、 フローリンク最適化部 45がフォーカス部品のインデックス ( i n d e x) に従って、 ブランチ部品のソートを行う。
図 1 8は、 ジョブネッ トワーク出力部 14の出力処理を説明する流れ図であ る。 ジョブネッ トワーク出力部 14は、 図 1 8の流れ図に従い、 フローリンク などを、 ジョブ管理ソフトウェアの種別に応じたジョブネッ トワーク定義に変 換する。 図 1 8において、 まず、 ジョブネッ トワーク出力部 1 4は、 フローリ ンクのリンク構造が正常であるか否かを判定する (ステップ 26— 1) 。 正常 で無ければ、 ジョブネッ トワーク出力部 14は、 エラ一を出力する。 E常であ れば、 ジョブネッ トワーク出力部 14は、 ジョブネッ トワークとして描画でき る構造、 又は、 ファイル出力できる構造であるか否かを判定する (ステップ 2 6— 2) 。 そのような構造であれば、 ジョブネッ トワーク出力部 14は、 リン ク構造をそのままジョブネッ トワーク · フローとして描画、 又は、 ファイル出 力する (ステップ 26— 3) 。 そのような構造では無い場合には、 ジョブネッ トワーク出力部 14は、 修復可能であるか否かを判定し (ステップ 26— 4) 、 修復可能であれば、 リンク構造を修正して、 ジョブネッ トワーク · フローと して描画、 又は、.ファイル出力する ( (ステップ 26— 5) 。
オープンシステムに於けるジョブ管理ソフトウエアは、 ジョブネッ トワーク 自動生成装置 1 0が生成したジョブネッ トワーク定義を入力する。 ジョブ管理 ソフトウェアは、 ジョブネッ トワーク定義を解釈して、 フローリンクで表現さ れた並列実行、 収束 (同期)' の制御フローに従って、 ジョブネッ トワーク自動 生成装置 1 0が生成したスクリプトを起動し、 起動したスクリプトの終了同期 を取る。 このジョブ管理ソフトウェアの動作により、 J C Lで記述されたメイ ンフレーム上のジョブをオープンシステムで実行することが出来る。
以上説明したように、 本実施の形態のジョブネッ トワーク自動生成装置 1 0 は、 次のような効果を奏する。 第 1の効果は、 メインフレームからオープンシ ステムへのジョブ環境移行のコス卜が大幅に削減されることである。 その理由 は、 本実施の形態のジョブネッ トワーク自動生成装置 1 0は、 J C Lからジョ ブネッ 卜ワーク の自動変換を可能にして、 手作業【こよって行われていたジョ ブ移行の工数やリスクが極小となるためである。
第 2の効果は、 ジョブ環境移行後の保守性が大きく高まることである。 その 理由は、 ジョブネッ トワーク自動生成装置 1 0により自動生成されるジョブネ ッ トワーク · フローは、 保守性の高い平易なフローになっているからである。 従って、 移行後のジョブ監視やジョブの修正作業などが、 J C Lファイルの場 合に比べて極めて容易になる。
第 3の効果は、 一般的なジョブ管理ソフトウェアを使用したジョブ運用を容 易にすることができることである。 その理由は、 ジョブネッ トワーク自動生成 装置 1 0が用いる、 複雑なフローを平易な形状のフローに変換するァルゴリズ ムを、 一般的なジョブ管理ソフトウエアのフロー最適化に応用することが出来 るからである。 ジョブ管理ソフトウェアのフローを、 保守性の高いフローへ変 換することが可能となるからである。
図 1 9は、 本発明にかかるジョブネッ トゥ一ク自動生成装置 1 0の基本的構 成を示す図である。 ジョブネッ トワーク自動生成装置 1 0は、 ジョブネッ トヮ —ク生成部 1 3と、 ジョブネッ トワーク出力部 1 4を備える。
ジョブネッ 卜ワーク生成部 1 3は、 入力した J C Lファイルからジョブ内に 於けるジョブステップ制御フローを記述するフローリンク、 および、 前記フロ —リンクに関連付けられて、 各ジョブステツプを記述するスクリプトファイル を作成する。 ジョブネッ トワーク出力部 1 4は、 前記フローリンクおよび前記 スクリブトファイルから、 ジョブネッ 卜ワーク定義ファイルを作成する。 本基本的構成に於いて、 中間ファイルは、 J C L→中間ファイル作成部 1 2 で作成されない。 中間ファイルは、 例えば、 他の装置で作成されて記憶装置 A 1に予め格納されているものとする。
以上、 実施形態を参照して本願発明を説明した。 しかし、 本願発明は 、 上記の実施形態に限定されるものではない。 本願発明の構成や詳細に は、 本願発明のスコープ内で当業者が理解しうる搽々な変更をすること ができる。
この出願は、 2 0 0 8年 3月 7 日に出願された日本出願特願 2 0 0 8 - 0 5 8 8 0 5 を基礎とする優先権を主張し、 その開示の全てをここに 取り込む。

Claims

請求の範囲
1. 入力した J CL (J o b C o n t r o l L a n g u a g e)' ファイル からジョブ内に於けるジョブステップ制御フローを記述するフローリンク、 お よび、
前記フローリンクに関連付けられて、 各ジョブステップを記述するスクリプト ファイルを作成するジョブネッ トワーク生成手段と、
前記フローリンクおよび前記スクリプトファイルから、 ジョブネッ トワーク 定義ファイルを作成するジョブネッ トワーク出力手段とを備える、 ジョブネッ トワーク自動生成装置。
2. 前記 J CLファイルの実処理行から前記スクリプトファイルを生成し、 前 記 J CLファイルの J CL命令行から、 前記フローリンクを生成する前記ジョ ブネッ トワーク作成手段を備える、 請求項 1のジョブネッ トワーク自動生成装 置。
3. 並列実行処理記述および終了同期記述を包含する前記 J C L命令行を入力 し、
前記並列実行処理記述を入力すると前記フローリンクに於いて前記ジョブの 逐次実行フロー (幹) から前記幹と並列に実行されるフロー (枝) を派生し、 前記終了同期記述を入力して、 前記フローリンクに於いて前記枝を前記幹に収. 束させ、
前記並列実行処理記述および前記終了同期記述を境界とする区間毎に分割さ れた前記スクリプトファイルを生成して、 前記幹および前記枝の各々に対し、 前記スクリプトを関連付ける前記ジョブネッ 卜ワーク生成部を備える、 請求項 2のジョブネッ トワーク自動生成装置。
4. 変換辞書と、
前記変換辞書を用いて、 入力した前記 J CLファイルを中間ファイルに変換 する J C L→中間ファイル変換部と、
前記中間ファイルから前記フローリンクを作成する前記ジョブネッ トワーク 作成手段を備える、 請求項 3のジョブネッ 卜ワーク自動生成装置。
5. 前記並列実行処理記述に対応して、 前記フローリンクに並列部品を配置し 、 前記終了同期記述に対応して、 前記フローリンクに待ち合わせ部品を配置す る前記ジョブネッ トワーク生成部を備える、 請求項 4のジョブネッ トワーク自 動生成装置。
6. コンピュータに、
入力した J CL ( J o b C o n t r o l L a n g u a g e) ファイルから ジョブ内に於けるジョブステップ制御フローを記述するフローリンク、 および 前記フローリンクに関連付けられて、 各ジョブステップを記述するスクリプト ファイルを作成するジョブネッ トワーク生成処理と、
前記フローリンクおよび前記スクリプトファイルから、 ジョブネッ トワーク 定義ファイルを作成するジョブネッ トワーク出力処理とを実行させる、 ジョブ ネッ トワーク自動生成プログラムを記録した記録媒体。
7. 前記コンピュータに、
前記 J C Lファイルの実処理行から前記スクリプトファイルを生成し、 前記 J C Lファイルの J CL命令行から、 前記フローリンクを生成する前記ジョブネ ッ トワーク作成処理を実行させる、 請求項 6の記録媒体に記録された前記ジョ ブネッ トワーク自動生成プログラムを記録した記録媒体。
8. 前記コンビュ 夕に、
並列実行処理記述および終了同期記述を包含する前記 J C L命令行を入力し、 前記並列実行処理記述を入力すると前記フローリンクに於いで前記ジョブの 逐次実行フロー (幹) から前記幹と並列に実行されるフロー (枝) を派生し、 前記終了同期記述を入力して、 前記フローリンクに於いて前記枝を前記幹に収 束させ、
前記並列実行処理記述および前記終了同期記述を境界とする区間毎に分割さ れた前記スクリプトファイルを生成して、 前記幹および前記枝の各々に対し、 前記スクリプトを関連付ける前記ジョ ネッ トワーク生成処理を実行させる、 請求項 7の記録媒体に記録された前記ジョブネッ 卜ワーク自動生成プログラム を記録した記録媒体。
9. 変換辞書を備える前記コンピュータに、
前記変換辞書を用いて、 入力した前記 J C Lファイルを中間ファイルに変換 する J C L→中間ファイル変換処理と、 前記中間ファイルから前記フローリンクを作成する前記ジョブネッ トワーク 作成処理を実行させる、 請求項 8の記録媒体に記録された前記ジョブネッ トヮ ーク自動生成プログラムを記録した記録媒体。
1 0. 前記コンピュータに、
前記並列実行処理記述に対応して前記フローリンクに並列部品を配置し、 前記 終了同期記述に対応して前記フローリンクに待ち合わせ部品を配置する前記ジ ヨブネッ トワーク生成処理を実行させる、 請求項 9の記録媒体に記録された前 記ジョブネッ 卜ワーク自動生成プログラムを記録した記録媒体。
1 1. コンピュータが、
入力した J CL (J o b C o n t r o l L a n g u a g e) ファイルから ジョブ内に於けるジョブステップ制御フローを記述するフローりンク、 および 前記フローリンクに関連付けられて、 各ジョブステップを記述するスクリプト ファイルを作成し、
前記フローリンクおよび前記スクリプトファイルから、 ジョブネッ トワーク 定義ファイルを作成する、 ジョブネッ トワーク自動生成方法。
1 2. 前記コンピュータが、
前記 J C Lファイルの実処理行から前記スクリプトファイルを生成し、 前記 J C Lファイルの J C L命令行から、 前記フローリンクを生成する、 請求項 1 1 のジョブネッ 卜ワーク自動生成方法。
1 3. 前記コンピュータが、
並列実行処理記述および終了同期記述を包含する前記 J C L命令行を入力し、 前記並列実行処理記述を入力すると前記フローリンクに於いて前記ジョブの 逐次実行フロー (幹) から前記幹と並列に実行されるフロー (枝) を派生し、 前記終了同期記述を入力して、 前記フローリンクに於いて前記枝を前記幹に収 束させ、
前記並列実行処理記述および前記終了同期記述を境界とする区間毎に分割さ れた前記スクリプトファイルを生成して、 前記幹および前記枝の各々に対し前 記スクリプトを関連付ける.、 請求項 1 2のジョブネッ トワーク自動生成方法。
14. 変換辞書を備える前記コンピュータが、 前記変換辞書を用いて、 入力した前記 J C Lファイルを中間ファイルに変換 し、
前記中間ファイルから前記フローリンクを作成する、 請求項 1 3のジョブネ ッ 卜ワーク自動生成方法。
1 5 . 前記コンピュータが、
前記並列実行処理記述に対応して前記フローリンクに並列部品を配置じ、 前記 終了同期記述に対応して前記フロー.リンクに待ち合わせ部品を配置する、 請求 項 1 4のジョブネッ 卜ワーク自動生成方法。
PCT/JP2009/054117 2008-03-07 2009-02-26 ジョブネットワーク自動生成装置、方法及びプログラム記録媒体 WO2009110525A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP09717806A EP2251785A4 (en) 2008-03-07 2009-02-26 AUTOMATIC JOB NETWORK GENERATING DEVICE, PROGRAM RECORDING METHOD AND MEDIUM
US12/811,899 US20110035746A1 (en) 2008-03-07 2009-02-26 job network auto-generation apparatus, a method and a program recording medium
CN200980104745XA CN101939728A (zh) 2008-03-07 2009-02-26 作业网络自动生成装置、方法和程序记录介质

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008058805A JP2009217405A (ja) 2008-03-07 2008-03-07 ジョブネットワーク自動生成方式及びプログラム
JP2008-058805 2008-03-07

Publications (1)

Publication Number Publication Date
WO2009110525A1 true WO2009110525A1 (ja) 2009-09-11

Family

ID=41056077

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/054117 WO2009110525A1 (ja) 2008-03-07 2009-02-26 ジョブネットワーク自動生成装置、方法及びプログラム記録媒体

Country Status (5)

Country Link
US (1) US20110035746A1 (ja)
EP (1) EP2251785A4 (ja)
JP (1) JP2009217405A (ja)
CN (1) CN101939728A (ja)
WO (1) WO2009110525A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004666A (zh) * 2010-11-25 2011-04-06 中国工商银行股份有限公司 一种大型计算机作业排程设备及系统

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665620B2 (en) 2010-01-15 2017-05-30 Ab Initio Technology Llc Managing data queries
WO2012119290A1 (zh) * 2011-03-04 2012-09-13 富士通株式会社 分布式计算方法和分布式计算系统
US9116955B2 (en) 2011-05-02 2015-08-25 Ab Initio Technology Llc Managing data queries
US8924974B1 (en) * 2011-06-08 2014-12-30 Workday, Inc. System for error checking of process definitions for batch processes
KR101657339B1 (ko) 2013-05-22 2016-09-19 매그나칩 반도체 유한회사 Dll 동작 모드 제어회로 및 그 방법
US10135749B2 (en) * 2013-09-23 2018-11-20 Sears Brands, L.L.C. Mainframe migration tools
CA3092699C (en) * 2013-12-06 2023-07-25 Ab Initio Technology Llc Source code translation
US20160070698A1 (en) * 2014-09-04 2016-03-10 Total System Services, Inc. Database Management System Tools for An Automated Work to Stage Process
US10437819B2 (en) 2014-11-14 2019-10-08 Ab Initio Technology Llc Processing queries containing a union-type operation
US10417281B2 (en) 2015-02-18 2019-09-17 Ab Initio Technology Llc Querying a data source on a network
JP6143981B1 (ja) 2016-03-22 2017-06-07 三菱電機株式会社 情報処理システム、情報処理装置及び情報処理方法
KR101762283B1 (ko) * 2016-05-19 2017-07-31 주식회사 티맥스 소프트 인코딩이 다른 환경에서 jcl을 재사용하기 위한 소트 스크립트 변환 방법 및 컴퓨터-판독가능 매체에 저장된 컴퓨터 프로그램
US10540737B2 (en) * 2017-12-22 2020-01-21 International Business Machines Corporation Processing unit performance projection using dynamic hardware behaviors
US11093223B2 (en) 2019-07-18 2021-08-17 Ab Initio Technology Llc Automatically converting a program written in a procedural programming language into a dataflow graph and related systems and methods

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683598A (ja) * 1992-09-03 1994-03-25 Hitachi Ltd ジョブフロー仕様書自動作成方法
JPH08147156A (ja) 1994-11-21 1996-06-07 Shunei Iida プログラム移植システム
JPH1124913A (ja) * 1997-06-27 1999-01-29 Nec Software Kansai Ltd Jclプログラム変換装置および記録媒体
JP2001166928A (ja) 1999-12-06 2001-06-22 Hitachi Ltd ジョブネットの自動生成装置
JP2001282549A (ja) 2000-03-30 2001-10-12 Nec Corp プログラム変換装置及び方法並びに記録媒体
JP2003067186A (ja) * 2001-08-23 2003-03-07 Hitachi Koukiyou Syst Eng Kk データフロー自動生成方法
JP2005107828A (ja) * 2003-09-30 2005-04-21 Central Computer Services Co Ltd ジョブフロー作成システム及びプログラム
JP2007257384A (ja) 2006-03-24 2007-10-04 Nippon Shoken Technology Kk バッチ系のシステム設計図自動生成方式
JP2008204069A (ja) * 2007-02-19 2008-09-04 Nec Corp ジョブ制御言語により記述されたジョブ制御文からジョブネットワークフローを生成する装置及びその方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2624753B2 (ja) * 1988-03-18 1997-06-25 株式会社日立製作所 上位仕様書作成方法
JPH0553785A (ja) * 1991-08-23 1993-03-05 Hitachi Ltd 図形エデイタとテキストエデイタの連動編集方法
JPH06318151A (ja) * 1992-09-09 1994-11-15 Central Syst Kk フロー図・処理プログラム間変換装置および方法
JP2551312B2 (ja) * 1992-12-28 1996-11-06 日本電気株式会社 ジョブステップ並列実行方式
JP3755165B2 (ja) * 1995-06-22 2006-03-15 富士通株式会社 並列処理手続き選定装置及び方法
US7831693B2 (en) * 2003-08-18 2010-11-09 Oracle America, Inc. Structured methodology and design patterns for web services
TWI335541B (en) * 2004-02-18 2011-01-01 Ibm Grid computing system, management server, processing server, control method, control program and recording medium
US8572616B2 (en) * 2006-05-25 2013-10-29 International Business Machines Corporation Apparatus, system, and method for managing z/OS batch jobs with prerequisites
JP4776571B2 (ja) * 2007-03-16 2011-09-21 富士通株式会社 実行制御プログラム,実行制御方法及び実行制御装置
US7958188B2 (en) * 2007-05-04 2011-06-07 International Business Machines Corporation Transaction-initiated batch processing
US20090217272A1 (en) * 2008-02-26 2009-08-27 Vita Bortnikov Method and Computer Program Product for Batch Processing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683598A (ja) * 1992-09-03 1994-03-25 Hitachi Ltd ジョブフロー仕様書自動作成方法
JPH08147156A (ja) 1994-11-21 1996-06-07 Shunei Iida プログラム移植システム
JPH1124913A (ja) * 1997-06-27 1999-01-29 Nec Software Kansai Ltd Jclプログラム変換装置および記録媒体
JP2001166928A (ja) 1999-12-06 2001-06-22 Hitachi Ltd ジョブネットの自動生成装置
JP2001282549A (ja) 2000-03-30 2001-10-12 Nec Corp プログラム変換装置及び方法並びに記録媒体
JP2003067186A (ja) * 2001-08-23 2003-03-07 Hitachi Koukiyou Syst Eng Kk データフロー自動生成方法
JP2005107828A (ja) * 2003-09-30 2005-04-21 Central Computer Services Co Ltd ジョブフロー作成システム及びプログラム
JP2007257384A (ja) 2006-03-24 2007-10-04 Nippon Shoken Technology Kk バッチ系のシステム設計図自動生成方式
JP2008204069A (ja) * 2007-02-19 2008-09-04 Nec Corp ジョブ制御言語により記述されたジョブ制御文からジョブネットワークフローを生成する装置及びその方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP2251785A4
SHIGEKI KIMURA ET AL.: "Trans Migration Service", FUJITSU, vol. 57, no. 1, 10 January 2006 (2006-01-10), pages 45 - 51, XP008137383 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004666A (zh) * 2010-11-25 2011-04-06 中国工商银行股份有限公司 一种大型计算机作业排程设备及系统

Also Published As

Publication number Publication date
EP2251785A4 (en) 2013-01-02
JP2009217405A (ja) 2009-09-24
CN101939728A (zh) 2011-01-05
US20110035746A1 (en) 2011-02-10
EP2251785A1 (en) 2010-11-17

Similar Documents

Publication Publication Date Title
WO2009110525A1 (ja) ジョブネットワーク自動生成装置、方法及びプログラム記録媒体
CN103069385B (zh) 用于动态加载基于图的计算的系统和方法
US6415396B1 (en) Automatic generation and maintenance of regression test cases from requirements
US7184967B1 (en) System and method utilizing a graphical user interface of a business process workflow scheduling program
US8296734B2 (en) System and method for testing a software product
Hartmann et al. A UML-based approach to system testing
US6408430B2 (en) Interactive software testing system and method
Bischl et al. BatchJobs and BatchExperiments: Abstraction mechanisms for using R in batch environments
US20070214111A1 (en) System and method for generating code for an integrated data system
US9152389B2 (en) Trace generating unit, system, and program of the same
JP2007179165A (ja) Uml設計モデルから、確率的な性能評価モデルを導出するコンピュータ・プログラムおよび確率的な性能評価モデルを導出する方法
JP5478526B2 (ja) データ分析及び機械学習処理装置及び方法及びプログラム
CN110532072A (zh) 基于微内核操作系统的分布式流式数据处理方法及系统
CN101866315A (zh) 软件开发工具的测试方法及系统
JP2004341671A (ja) 情報処理システム、制御方法、制御プログラム、及び記録媒体
CN113568604B (zh) 风控策略的更新方法、装置及计算机可读存储介质
CN109634569A (zh) 基于注解的流程实现方法、装置、设备及可读存储介质
Bischl et al. Computing on high performance clusters with r: Packages batchjobs and batchexperiments
EP1646940A2 (en) Designing computer programs
US20110276943A1 (en) Generating type-safe wrappers for dynamic detouring
JP5273576B2 (ja) ジョブネットワーク自動生成方式及びプログラム
WO2008041442A1 (fr) Procédé de création de programme par parallélisation, dispositif de création de programme par parallélisation, et programme de création de programme par parallélisation
US8510342B1 (en) Automatic conversion of build processes to use streaming input
Lambert PMSC for performance evaluation
JP2004362343A (ja) ソースコード変換装置、ソースコード変換方法、およびプログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980104745.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09717806

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2009717806

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 12811899

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE