IBM Support

Using EQQYLTOP to change an application to PENDING status doesn't work

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.

[{"Product":{"code":"SSRULV","label":"IBM Workload Scheduler for z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
13 September 2019

UID

swg21693245