Hi Asad,
Resource limit exceeded. MSGID=
Job=104421/PVT00/WP02"
Resource limit exceeded means SQL0904 error, and it has different reason code.
--------------------------------------------------------------------------------------------------------------
Message ID . . . . . . . . . : SQL0904
Message file . . . . . . . . : QSQLMSG
Library . . . . . . . . . : QSYS
Message . . . . : Resource limit exceeded.
Cause . . . . . : Resource limit type &1 exceeded with reason code &2. A
list of the limit types follows:
-- Type 1 indicates that the user profile storage limit or the machine
storage limit was exceeded.
-- Type 2 indicates that the machine lock limit was exceeded.
-- Type 3 indicates that the query resource limit was exceeded. For more
information see the previously listed message CPD4365.
-- Type 4 indicates that a journal error has occurred.
-- Type 5 indicates that the commit lock limit was exceeded.
-- Type 6 indicates that the maximum size of the table has been reached.
-- Type 7 indicates that the maximum size of the prepared statement area
has been reached.
...
--------------------------------------------------------------------------------------------------------------
For SAP environment, this error usually happens with type 7. And in this case you should follow sap note "54028 - IBM i: SQL0 904 reason code 7, overflow in SQL package" to resolve the issue.
You can find the reason code in os job log, in your case it is 104421/PVT00/WP02.
However sometimes it is with other types, in this case you should report a ticket to SAP or IBM or further check.
Best regards,
Daniel
SAP on IBM i team