Previous Topic Next topic Print topic


PRINT

Parameters:

MFJAMS uses the parameters described in the following table. All other parameters are ignored.

INFILE(ddname)
Name of the DD statement, contained in the JCL for this job step, that provides the name of the data set that is to be printed.
INDATASET(data-set-name)
Name of the data set that is to be printed.
OUTFILE(ddname)
Name of the DD statement for the printed output. The data set must have an LRECL value of at least 121. If you omit OUTFILE, the SYSPRINTDD statement is assumed.
FROMKEY(key)
For a VSAM KSDS data set only, the key of the first record to print. Printing starts at the record with the same primary key, or the record with the nearest higher key if an exact match does not occur. Alternate indices are not used.
TOKEY(key)
For a VSAM KSDS data set only, the key of the last record to print. Printing ends at the record with the same primary key, the record with the nearest higher key if an exact match does not occur, or end of file. Alternate indices are not used.
SKIP(number)
The number of records to skip before printing starts.
COUNT(number)
The number of records to print.
CHARACTER
Records are to be printed in character format. MFJAMS converts EBCDIC data sets to ANSI. Unprintable characters are printed as periods.
HEX
Records are to be printed in hexadecimal format. MFJAMS prints each byte in the record as a two-byte hexadecimal value.
DUMP
Records are to be printed as a storage dump, in both hexadecimal and character format. MFJAMS converts EBCDIC data sets to ANSI. Unprintable characters are printed as periods.

Comments:

  • INFILE and INDATASET are mutually exclusive. You must specify one of them.
  • FROMKEY and SKIP are mutually exclusive. If you specify neither, printing starts at the first physical record.
  • TOKEY and COUNT are mutually exclusive. If you specify neither, printing ends at end of file.
  • CHARACTER, HEX and DUMP are mutually exclusive. DUMP is the default.
  • MFJAMS converts key values to EBCDIC if necessary.
  • MFJAMS pads partial keys with spaces.
Previous Topic Next topic Print topic