SETDEFAULT behaviour in Workload Automation Programming Language

An element of the EQQYLTOP syntax that is not compatible with Workload Automation Programming Language is the ability to SETDEFAULT for a segment without first providing a SETDEFAULT for the record itself.

For example, in EQQYLTOP the following commands set the default workstation to CPU1 and use that default value in the remaining statements:
ADOP ACTION(SETDEFAULT) DURATION(10)
ADSTART ADID(NEWAPPL)
ADOP WSID(CPU1) OPNO(001) JOBN(JOB1)
ADOP WSID(CPU1) OPNO(002) JOBN(JOB2)
Because Workload Automation Programming Language uses object based structures throughout the syntax, to do the same thing you need to add an ADSTART statement before the ADOP statement to ensure that the structures are coherent:
ADSTART ACTION(SETDEFAULT)
ADOP ACTION(SETDEFAULT) DURATION(10)
ADSTART ADID(NEWAPPL)
ADOP WSID(CPU1) OPNO(001) JOBN(JOB1)
ADOP WSID(CPU1) OPNO(002) JOBN(JOB2)
Note: All the statements within a SETDEFAULT structure can specify only the SETDEFAULT ACTION. If ACTION is not specified for child batch loader statements, SETDEFAULT is assumed.