Setting Priority on Output Programmatically

In Production Reporting programs, you can set the output as high priority. In Explore module listings, users see the high-priority icon next to any high-priority job output or version. Users can also sort by priority (normal or high).

To set priority to high on the output, a program writes the string rating=high-priority to the output.properties file used by the job service. This code excerpt accomplishes this objective:

open 'output.properties' as 0 for-append record=32767:vary
write 0 from 'rating=high-priority'
close 0