PRTJOB: Print Job Descriptions

Last updated 19 Nov 97

PRTJOB will print job descriptions for any groups on the input Task Factor file which have valid Percent Time Spent and Percent Members Performing vectors. These vectors are created by GRPJOB or STGJOB.

Program Invocation

The specific syntax for program invocation varies between operating systems. This document diplays the code for the AIX version.


@codap prtjob <opt> <ssss> <TFf> <TT>

opt:  G   Print additional values for duty/module report
      R   Round PMP values to the nearest integer
ssss:     The study number
TFf:      Input Task Factor file
TT:       Input Task Title or Module Title file

PRTJOB Control Card


PRTJOB <study>

PRTJOB:  cc 01-06  The literal 'PRTJOB'
study:   cc 08-11  The study number for this run

Note Card Sets

There is no limit to the number of note cards. Notes may be changed between reports by issuing another note card set.


NOTE
notes...
@EOF

Job Description Request Cards

These cards specify which job descriptions are to be printed on the output report. The request card may contain as little as the group identifier, or it may contain various report limiting information as described below. There is no limit on the number of job descriptions that can be requested, but each vector requested must be on the specified Task Factor file or the request will be ignored.


<group> <report> <sort> <maxtim> <tasks> [title]

group:   cc 01-06  The Group ID
report:  cc 08     The type of report to print
		   'D' - print a Duty level job description
		   'M' - print a Module level job description
		   'T' - print a Task level job description
		   ' ' - print both reports (default)
		   'W' - print tasks within duty or module
sort:    cc 10     The sort sequence for printing
		   N - do not sort nor suppress printing of tasks with zero
		       percent time spent
		   M - sort on percent members performing
		   T - sort on average percent time spent (default)
maxtim:  cc 12-17  The maximum cumulative time spent to print.  The listing
		   of tasks will stop when the cumulative time spent exceeds
		   this value.  The default maximum time is 100 percent,
		   except for sorted task level reports (default=55.0).
tasks:   cc 19-22  The maximum number of items to print.  The default is the
		   number of items (either tasks, duties, or modules).
title:   cc 24-80  The optional report title for this job description.
		   If blank, the task factor title will be used.

These cards are terminated by an end-of-file or an '@eof' image.

Examples

@codap prtjob - ssss tf100 tt001
PRTJOB ssss
NOTE
This is the first note card.  PRTJOB will accept any number of
cards with each card up to 80 characters in length.  It is also
acceptable to have no note cards.  To terminate the note card
input process, an @EOF card with the '@' in column 1 should
follow the note cards (if any).
@EOF
GP0001                 This title will replace the title
GP0002
@EOF

This example will print job description reports for the two groups specified. The note cards will be printed on each of the reports. The first report will use the title specified on the control card for the report instead of the title from the job description vector. The second report will be titled with the title from the job description vector.

@codap prtjob - ssss tf100 tt001
PRTJOB ssss
GP0001
GP0002
GP0003 T N  50.00   50
@EOF

In this example groups GP0001 and GP0002 will have their full task and duty job descriptions printed. The task level description printed for GP0003 will be in inventory sequence and will be limited to 50 tasks, or less if the cumulative percent time spent reaches fifty percent.

Back to document index