How to directly invoke SuperC and search-for
You can run the SuperC and Search-For programs directly without using the ISPF-provided utilities (Options 3.12, 3.13, 3.14, or 3.15). This requires an installation (or system programmer) to customize a CLIST (for interactive usage) or a PROCLIB procedure (for batch execution of a catalog procedure). Although these methods are not warranted by the ISPF product, a sample CLIST and a sample PROCLIB procedure are distributed as an aid in the SAMPLIB data set as members ISRSCLST and ISRSPROC.
superc newfile(.newdata.file) oldfile(ludlow.olddata.file)
exec clist(superc) 'new(.newdata.file) old(ludlow.olddata.file)'
where superc is
the command and newfile and oldfile are
the keywords for the input files.The SuperC load module may be supported using a private library or a concatenated system library. The installation is responsible for making the corresponding changes to the sample CLIST.
SUPERC NEW(dsn) OLD(dsn) {keyword(parameter) .... }
- CTYPE
- Specifies the compare type. The parameter can be one of the SuperC compare types (File, Line, Word, or Byte). To call the Search-For program, use CTYPE(SRCH).
- LISTING
- Specifies the listing type. The parameter can be one of the SuperC listing types.
- OUTDD
- Specifies the name of the Listing Data Set. Use a fully qualified dsn or use a period (.) to precede the dsn with SYSPREF. The use of the period is a compromise because fully qualified names enclosed in quotes are difficult to pass in CLISTs.
- BROWSE
- Specifies the auto display program.
- SYSIN
- Specifies whether SuperC prompts the user for the process statements
or uses a statements data set. The parameters can be
PROMPT
or the name of the statements data set. - DELDD
- Specifies the name of the update data set.
- PROCESS
- Specifies the process options. The parameter can be a SuperC or Search-For process option. Not all options are allowed with each compare type (for example, GWCBL is valid only with Line and Word compare) or with other options (for example, you cannot use SEQ with COBOL). See Process options for more information.
When coding the JCL yourself, the following options are specified in the PARM field. Each may be separated by either a space or a comma.
- compare_type
- The type of comparison you want performed: FILE, LINE, WORD, or BYTE. When specifying the compare type in the PARM parameter, add the suffix "CMP" (for example, WORD becomes WORDCMP).
- listing_type
- The type of listing you want from the comparison: OVSUM, DELTA, CHNG, LONG, or NOLIST. When specifying the listing type in the PARM parameter, add the suffix "L" (for example, CHNG becomes CHNGL).
- process_options
- Process options are keywords that direct SuperC how to perform the comparison or format the listing. Process options can be separated by spaces or commas.