Send CPF1816/1817 by Program without a UPS attached

15 pts.
Tags:
AS/400
IBM i
iSeries
UPS
We have many AS/400/iSeries/i5s (call it how you want) around the world. In many cases we have big issues to connect the machines via serial cables to the ups (no time for a maintenance :-( ). Now we want to test "Online USVs". They are connected to the network and send messages via a socket connection to our systems. Now we want to write a PGM to handle this connections and if we get a Message like "Powerfail", we want to send a message with message id CPF1816. Or if we get Message "Power restored" we want to send a message with message id CPF1817. Now the question is will the system behave like a ups is attached or do the AS/400 react to the ups-signal and write the CPF-Message in addition?
Thank you!!
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

I did some testing like you are describing in a previous employment (but that was 10 years ago).  The messages/message IDs for testing have to be put into the same message queue being monitored for when the UPS sends a real message.

Your program shouldn’t care where the message comes from, only that it is there

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • PBiFive
    Thank you for your answer!
    My Program do not care where it comes from. It will send the messages/message IDs. My program is listening on a socket. When the online UPS sends a message "POWER FAIL" my program will trigger it and will send CPF1816.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: