Format settings in FORMSPEC.STP files

<< Click to Display Table of Contents >>

Navigation:  Reference > Formats >

Format settings in FORMSPEC.STP files

To change the standard settings of the formats so as to affect all projects, you should create a file called FORMSPEC.STP.

The file must contain a standard F (format) command, containing the settings you want to change. For instance, if you always want the date but no page numbers to appear on your tables, the line might read:

f=dat/npgn,

The FORMSPEC.STP file is read by every CL run containing a Data Stage, immediately after START DATA is read.

To change the settings of the formats so as to affect all CL projects run in a particular directory, you can create a file called FORMSPEC.STP in that directory, and insert a F (format) command as described earlier. The FORMSPEC.STP file is read by every CL run containing a Data Stage in that directory, immediately after the global FORMSPEC.STP file, if any, or immediately after START DATA.

In either the global FORMSPEC file, or the local FORMSPEC.STP file, you may also include special text definitions.

The commands in FORMSPEC.STP files may appear in any order.

Example of FORMSPEC.STP:

f=urh/uch,

f=ibm3/sdv,

%jf='Prepared by IT dept.',