Process statements

You can use process statements to tailor your comparison or search according to your requirements. Process statements provide a powerful and flexible way of ensuring that only relevant data is compared (or searched) and that meaningful results are produced.

Broadly speaking, the two major functions that process statements perform are:

All process statements require a keyword followed by one or more operands. They are supplied to SuperC in the Process Statements File.

Table 1 lists each of the process statement keywords and shows for which compare type each keyword can be used. The table also shows whether the keyword is valid for the SuperC Search.

Note: The sequence in which each of the process statements is listed (in Table 1 and the pages following) is primarily alphabetic according to the process statement keyword.

However, in the interest of keeping associated "pairs" and "sets" of process statements together, the prefixes "N" and "O" (indicating the process statement applies to the new or old file) have been ignored when sequencing the process statements alphabetically.

Table 1. Summary of process statements
Process option Valid for compare type Valid for Search
Keyword Description FILE LINE WORD BYTE
NCHGT Change text: new or search file   X X   X
OCHGT Change text: old file   X X    
CHNGV Change listing value   X X X  
CMPBOFS Compare byte offsets       X  
CMPCOLM Compare (search) columns: new, old, search files   X X   X
CMPCOLMN Compare columns: new file   X X    
CMPCOLMO Compare columns: old file   X X    
CMPLINE Compare lines   X X   X
CMPSECT 1 Compare sections   X X    
COLHEAD 2 Define column headings   X      
DPLINE Do not process lines (containing a string)   X X   X
DPLINEC Do not process lines continuation   X X   X
NEXCLUDE 4 Exclude data: new file X X      
OEXCLUDE 4 Exclude data: old file X X      
NFOCUS 4 Focus on data: new file X X      
OFOCUS 4 Focus on data: old file X X      
LNCT Line count X X X X X
LPSFV List previous-search-following value         X
LSTCOLM List columns   X     X
REVREF Revision code reference   X X    
SELECT Select PDS members (z/OS®) X X X X X
SELECT Select members/files (CMS) X X X X X
SELECT Select members (z/VSE®) X X X X X
SLIST Statements listing option X X X X X
SRCHFOR Search for a string         X
SRCHFORC Search for a string continuation         X
NTITLE Alternative listing title: new file X X X X X
OTITLE Alternative listing title: old file X X X X  
NY2AGE Aging option: new file   X      
OY2AGE Aging option: old file   X      
NY2C Date definition: new file, character format   X      
NY2Z Date definition: new file, zoned decimal format   X      
NY2D Date definition: new file, unsigned packed decimal format   X      
NY2P Date definition: new file, packed decimal format   X      
OY2C Date definition: old file, character format   X      
OY2Z Date definition: old file, zoned decimal format   X      
OY2D Date definition: old file, unsigned packed decimal format   X      
OY2P Date definition: old file, packed decimal format   X      
WORKSIZE Maximum number of units for comparison   X X X  
Y2PAST Global date option   X      
* Process Statement comment to be printed X X X X X
.* Process Statement comment not to be printed X X X X X
Note:
  1. Not supported on CMS.
  2. Valid only for listing types DELTA and LONG.
  3. Supported only on z/VSE.
  4. FILE compare type is valid only with ROWS option of NEXCLUDE, OEXCLUDE, NFOCUS, and OFOCUS.
  5. Supported only on CMS.

The following sections describe each process statement in detail.