How do I compare specific line in two files on ISPF?

How do I compare specific line in two files on ISPF?

To compare the contents of two data sets in the ISPF interface, complete the following steps:

  1. Set up the Compare in ISPF.
  2. Save the JCL.
  3. Run the Compare in Batch Mode.
  4. View the Compare Report.

How do I compare two mainframe members?


  1. Using SUPERC (by 3.13, job or programmatically).
  2. The COMPARE edit command (which is actually interface to SUPERC).
  3. Non-IBM product like COMPAREX or FILE-AID.

What is SuperCE in mainframe?

The SuperCE utility (option 3.13) is a dialog that uses the SuperC program to compare data sets of unlimited size and record length at the file, line, word, or byte level. It is appropriate if you need more flexibility than the standard SuperC utility (option 3.12) provides.

How do I find the ISPF dataset?

To display a list of all your data set names in ISPF/PDF, select the UTILITIES option (option 3) from the ISPF/PDF Primary Option Menu, and from the Utility Selection Menu, select the DSLIST option (option 4).

How do I compare two files in sort JCL?

The matching criteria is to compare the total record in both files. Since both the files have same RECFM and LRECL, this can also be done without joinkeys, but the solution using joinkeys will be easier to maintain and understand. REFORMAT FIELDS=(F1:1,300,F2:1,300,?)

How can I tell who is using my dataset?

To view from ISPF 3.4 who use a dataset Tanden’s method is correct pressing twice F1 when message ‘Already in use’ appair. To check if file is busy or not thru a Clist or a Rexx you can download from the net WHOHAS utility or TSODSN.

How does JCL compare two flat files?

  1. Sort file and file2.
  2. Read file1.
  3. Read file2 until key2 >= key1.
  4. check if key1=key2 perform required action.
  5. repeat step2 to 4 until end of both files.

How do you find the strings on a Rexx?

Rexx – find

  1. Syntax. find(string, phrase)
  2. Parameters. string − The string value that needs to be searched for.
  3. Return Value. The method returns the word number of the first word of phrase in string.
  4. Example. /* Main program */ options arexx_bifs say find(‘ Hello World ‘,’World’)
  5. Output. rexx_regina.htm.

What are the components of ISRSUPC?

The first component is a dialog that provides the data entry panels, selection panels, and messages. The second component is the program module, ISRSUPC. The CPI interface is through a standard parameter list.

What is the difference between SuperC and catalog procedure?

The sequence allows the SuperC program to compare two input data sets and generates a line compare CHANGE type listing to the spool output queue and a separate UPDCNTL update control data set output using source columns 2 through 72. A catalog procedure is a set of “canned” JCL statements that you can invoke as an extension of your own JCL.

What is the search-for JCL sequence?

A simplified Search-For JCL sequence follows. The SRCHFOR process statement used in the search is part of the JCL instead of a separate SYSIN data set. Concatenated data sets are also shown as part of the JCL.

Where can I find sample Clist and proclib JCL data?

A sample CLIST has been provided to show line command processing. A sample PROCLIB JCL catalog procedure has also been provided to show batch submission. The sample CLIST and PROCLIB JCL are located in the ISP.SISPSAMP PDS data set as members ISRSCLST and ISRSPROC, respectively.