Question & Answer
Question
How can I use EQQYLTOP to set an existing application to PENDING?
Answer
To set an application to PENDING status (ADSTAT(P)) using EQQYLTOP requires both
ACTION (REPLACE) and STATUSCHANGE(Y) to be specified on the OPTIONS statement - as shown in the following example:
OPTIONS DURUNIT(SECONDS)
ACTION(REPLACE)
STATUSCHANGE(Y)
ADSTART ACTION(ADD)
ADID(PMRAAAA ) ADVALFROM(120112) CALENDAR(DEFAULT )
ADTYPE(A)
OWNER('SVIOLA ')
PRIORITY( 4) ADSTAT(P)
Note if you try instead to specify ACTION(REPLACE) on the ADSTART statement an error message
is issued:
EQQY108E KEYWORD ACTION HAS AN UNSUPPORTED VALUE REPLACE
REPLACE should only be specified on the OPTIONS statement.
Note also that if ACTION (REPLACE) is specified but STATUSCHANGE(N) is used or taken as the
default value, the result will be TWO applications in the AD database, one in ACTIVE (A) status and
the other in PENDING (P) status.
Was this topic helpful?
Document Information
Modified date:
13 September 2019
UID
swg21693245