WAIT for PROCESS - UPPS Command

Description

The WAIT for PROCESS command monitors a specified job, jobset, or process in the PeopleSoft system to completion.

Optionally, the various outputs associated with the monitored processes can be retrieved.

Command Line Syntax

The following figure illustrates the command line syntax of the WAIT for PROCESS command, using the command line, long form of its configuration options.

-wait -processinstance number 
[-poll seconds][-printjobtree {yes | no}] 
[-printdistlist {yes | no}] 
[-printsystemessage {yes | no}] 
[-printapplicationmessage {yes | no}] 
[-printparamlist {yes | no}] 
[-report {yes | no}]
[-cntfilter filterList]

Configuration Options

The following table describes all WAIT for PROCESS configuration options and provides the command line, long form of each option illustrated in the WAIT for PROCESS command line syntax, above.

Configuration
Option Name

Command Line
Long Form

Description

CNT_FILTER

-cntfilter

Comma-delimited list of report file suffixes that will not be returned.

POLL

-poll

Length of time to wait between status calls to the PeopleSoft system.

PRINT_JOB_TREE

-printjobtree

Specification for whether or not to print the job tree when the monitored process completes.

PRINT_DIST_LIST

-printdistlist

Specification for whether or not to print the report-recipient distribution list for the monitored process when the work completes.

PRINT_APPLICATION_MESSAGE

-printapplicationmessage

Specification for whether or not application messages are printed for the monitored processes when the work completes.

PRINT_SYSTEM_MESSAGE

-printsystemmessage

Specification for whether or not system messages for the monitored processes when the work completes.

PRINT_PARAM_LIST

-printparamlist

Specification for whether or not the parameter list for job items are included in the report.

PROCESS_INSTANCE

-processinstance

Process instance number for the job, jobset, or process.

REPORT

-Report

Specification for whether or not the reports associated with a process are returned.

Example

upps -userid USERNAME1 -pwd PASSWORD1 -host qapsft.stone.branch -port 8000 -wait -processinstance 140608

UNV6817I Process status for TREEMOVER/140608 is now no success.
UNV6834I Distribution status for TREEMOVER/140608 is now posted.
Process Instance..........: 140608
Process Name..............: TREEMOVER
Process Type..............: Application Engine
Run Control Id............: ESS1A
Server Name Run...........: PRCS1090
Operator Id...............: USERNAME1
Request Date Time.........: 2018-02-08-14.46.26.623556
Run Date Time.............: 2018-02-08-14.46.26.000000
Begin Date Time...........: 2018-02-08-14.46.39.774941
End Date Time.............: 2018-02-08-14.46.54.970106
Output Destination Format.: TXT
Output Destination Type...: WEB
Run Status................: no success
Distribution Status.......: posted
Content Id................: 29627
*******************************************************************************
Report URL.........: http://qapsft.stone.branch:8000/psreports/ps/29627/AE_TREEMOVER_140608.stdout
Report Description.: Redirected Terminal Output
*******************************************************************************
PeopleTools 8.55.09 - Application Engine Server
Copyright (c) 1988-2018 Oracle and/or its affiliates.
All Rights Reserved
PSAESRV started service request at 14.46.39 2018-02-08
Begin: PeopleSoft TreeMover (125,2)
A file with the name ESS1A-TreeExp1 already exists. Cannot overwrite. (125,498)
PeopleSoft TreeMover Completed Unsuccessfully. (125,5)
End: PeopleSoft TreeMover (125,3)
PeopleCode Exit(1) Abort invoked by Application at TREEMOVER.Export.Step01. (108,543)
Process 140608 ABENDED at Step TREEMOVER.Export.Step01 (PeopleCode) -- RC = ? (108,524)
Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s
PSAESRV completed service request at 14.46.39 2018-02-08

UNV6830E Universal Connector for PeopleSoft Process Scheduler ending with exit code 6.