VMS Help  —  SORT  Output File Qualifiers, /RELATIVE
    Defines the output file organization as relative.

    Format

      output-file-spec/RELATIVE

1  –  Full Description

    If the organization of the output file is to be different
    from that of the input files, then you must specify the new
    organization. If you do not specify file organization, the
    default for record and tag sorts is the organization of the
    first input file. You must use the /RELATIVE qualifier to specify
    relative output file organization.

2  –  Example

  $ SORT/KEY=(POS:1,SIZ:80) STATS.DAT SUMMARY.LIS/RELATIVE

      Because the input file STATS.DAT is not a relative file and
      the output file, SUMMARY.LIS, will be, /RELATIVE qualifies the
      output file specification.
Close Help