crexist - Does a Change Request Exist?


This API call can be used to test whether a change request exists.

Usage:

set ok=$$crexist^%vcapi(userid,chref,.exists,.err)

Inputs:

userid VC/m user ID (derived from host operating system if null)
chref Change request code

Outputs:

$$crexist 1 = Operation succeeded
0 = Operation failed
exists 1 = Change request exists
0 = Change request does not exist
err Error message if operation failed

Error messages:

vc1016 Invalid change request number A null change request code is not permitted