Previous Page | Next Page

The FORMAT Procedure

Syntax: FORMAT Procedure


Restriction: You cannot use a SELECT statement and an EXCLUDE statement within the same PROC FORMAT step.
Tip: You can also use appropriate global statements with this procedure. See Global Statements for a list.
See: FORMAT Procedure under OpenVMS z/OS
Table of Contents: The FORMAT Procedure

PROC FORMAT <option(s)>;
EXCLUDE entry(s);
INVALUE <$>name <(informat-option(s))>
value-range-set(s);
PICTURE name <(format-option(s))>
value-range-set-1 <(picture-1-option(s) )>
<...value-range-set-n <(picture-n-option(s))>>;
SELECT entry(s);
VALUE <$>name <(format-option(s))>
value-range-set(s);

Task Statement
Define formats and informats for variables. PROC FORMAT
Exclude catalog entries from processing by the FMTLIB and CNTLOUT= options. EXCLUDE
Create an informat for reading and converting raw data values. INVALUE
Create a template for printing numbers. PICTURE
Select catalog entries for processing by the FMTLIB and CNTLOUT= options. SELECT
Create a format that specifies character strings to use to print variable values. VALUE

Previous Page | Next Page | Top of Page