Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
&pagelevel(3)&pagelevel
This chapter contains examples of the conversion of non-S procedures into S procedures and of ISP commands into SDF commands.
In each of the examples, the input and output procedures as well as the logs produced by SDF-CONV are reproduced and annotated.
The sample sessions were run under BS2000/OSD-BC.
Example 1: | The procedure DO.REORG reorganizes storage space occupied by ISAM files. The conversion into SDF commands as well as into S procedure format is not subject to any restrictions, SDF-CONV terminates without errors. |
Input procedure: Logging file: Output procedure: | DO.REORG LST.REORG SDF.SDFP.DO.REORG |
Example 2: | The procedure DO.LIB.CONTENTS causes the most important element data to be output for all elements in a library. The conversion of the PRINT and DO commands is subject to certain restrictions. SDF-CONV issues a
NOTE for each. The procedure format (non-S) is retained unchanged. |
Input procedure: Logging file: Output procedure: | DO.LIB.CONTENTS LST.LIB.CONTENTS SDF.DO.LIB.CONTENTS |
Example 3: | The procedure PROC.ASSXT is a small auxiliary procedure that is to speed up processing (system file assignment, assembler call) in the event of frequent access to the ASSEMBH assembler. The procedure was written as a non-S procedure using the SDF command language. No restrictions apply to its conversion into an S procedure. SDF-CONV terminates without errors. |
Input procedure Logging file: Output procedure: | PROC.ASSXT LST.ASSXT SDFP.PROC.ASSXT |