I do not know about AS/400 and v5, but I do see couple of the mistakes:
1. It's possible to have multiple stored procedures with the same name and schema
2. Drop procedure should include schema name, and idealy in case of multiple sp with the same, it shoud be "drop scpecific procedure schema.specificname" as specific is unque
regards,
dmitri