The SDF-CONV utility routine is able to perform two different types of procedure conversion:
conversion of the command language (ISP into SDF commands)
conversion of the procedure format (non-S into S format)
SDF-CONV converts ISP commands and their operands in files and library elements into SDF commands with the appropriate operands. Commands in SDF command records are expanded to their full command names.
Certain ISP commands cannot be converted into SDF format. Such commands are added unchanged to the output procedure. For example, ISP commands are not converted if the selection of the corresponding SDF command is dependent on the runtime behavior or on procedure parameters or the ISP command is no longer supported by BS2000.
All commands and operand configurations that cannot be converted by SDF-CONV are listed in the section “Restrictions”.
SDF-CONV can be used to convert non-S procedures (ISP and SDF format) into S procedures.
An S procedure ("structured procedure") is structured in accordance with SDF-P rules. SDF-P is a block-oriented programming language. It enhances the command language used in BS2000 up to now by enabling structured programming similar to higher programming languages (see the manual "SDF-P" [5]).
The software product SDF-P includes the following two components:
the non-chargeable subsystem SDF-P-BASYS containing the basic SDF-P components
the chargeable subsystem SDF-P offering the full SDF-P functionality
Only the functionality of the non-chargeable SDF-P-BASYS is taken into account when converting a non-S procedure into an S procedure using SDF-CONV (see the "Commands" manual [1]).
The resulting S procedure is compatible but not optimized in comparison with the control structure mechanisms of an S procedure generated with SDF-P.
The following conversions of commands and procedure formats can be performed using SDF-CONV:
non-S procedure with ISP commands |
|
non-S procedure with ISP commands |
|
non-S procedure with ISP commands |
|
non-S procedure with SDF commands |
|
S procedure with ISP commands |
|
SDF-CONV writes the result of the conversion into an output procedure, which is stored as a SAM file or as an element in a PLAM library. A detailed conversion log is output to SYSLST.