Return code mapping for psagent
For the PeopleSoft access method, you can write return code mapping files associating the internal states listed in Job states and return codes for the PeopleSoft access method.
When no return code mapping files are defined, or when a string returned by the access method does not satisfy any of the matching patterns of the mapping file, the access method uses the respective standard return codes listed in the tables.
psagent job state | psagent return code |
---|---|
"CANCEL" | 1 |
"DELETE" | 2 |
"ERROR" | 3 |
"HOLD" | 4 |
"QUEUED" | 5 |
"INITIATED" | 6 |
"PROCESSING" | 7 |
"CANCELED" | 8 |
"SUCCESS" | 9 |
"NO SUCCESSPOSTED" | 10 |
"POSTED" | 11 |
"NOT POSTED" | 12 |
"RESEND" | 13 |
"POSTING" | 14 |
"GENERATED" | 15 |