How to store formats into the central INF format catalogue

It is the duty of the system administrator, to move the formats required for the entry of information texts into the INF-format catalogue of CFS. We propose the following steps:

1) Create the required format using IFG/FORMPLAG.

2) Open a CFS-connection and activate logging only for output: LOG file,O

3) Call IFG and select function 02: 'Display format' (sub function: 'format as during use') resp. call FORMPLAG.ETH and select the test function: .T (display map). The format will be captured in the LOG-file specified in step 2).

4) Terminate IFG / FORMPLAG.ETH and deactivate logging with command NLOG.

5) Display the so created LOG file using CFS-display: I file,D. Switch into modify mode via command M.

6) Delete all records in the LOG file except the protocol record of the IFG-/ FORMPLAG-format. You may delete a data record by overwriting the first position of the ISAM-key with the character 'E' (Eliminate Record).

7) Transfer this single remaining record into the central format catalogue. For this purpose CFS provides a special command:

(ADDFORM) file [, f] [, format-cat]

file Name of the LOG-file into which the required format was recorded. The file must contain only one record.

f format name (1-3 characters) under which the map is stored into the format catalogue.

format-cat Name of the catalogue into which the current format shall be stored. If no name was specified, the name of the central format catalogue ($TSOS.CFS.INF.FORMAT) is used by default. The name of the central format catalogue can be customized via module CFSMAIN according to the requirements of the operating centre.