Procedure Batch / Batch procedures
Con procedura batch si intende un frammento di codice, più o meno complesso, non interattivo, che cioè non richiede input da parte dell'utilizzatore.
Questa modalità di realizzazione del codice ha diverse implicazioni.
Nel caso specifico delle procedure che saranno create, una procedura batch prenderà il suo, o i suoi, dati (Input) da un file sequenziale e restituirà due risposte:
1) Codice di terminazione (o Return Code)
2) Risultato (Output) su un file sequenziale
Questi due input consentiranno di gestire procedure elaborative complesse (Workflow) basandosi sui Return Code, per decidere come procedere, e sull'eventuale Output che potrà rappresentare anche un prodotto informativo intermedio.
E' esclusa, al momento, la produzione di codice interattivo (Online).
A batch process is represented by a non-interactive fragment of code, more or less complex, that is, that does not require input from the user.
This code implementation has several implications.
The simple example of batch process is a process that read a data stream (Input) from a sequential file and returns two things:
1) the Code of termination (often defined as Return Code) of the process
2) the Result (Output) of the process to an sequential file
These two outputs will allow you to manage complex processing procedures (into a Workflow, for example) managed through the Return Code. The Output of a step could be also an intermediate result.
It's excluded, at the time, the production of interactive (Online) code.