Troubleshooting
Problem
Sendmail with HTTP CGI program results in CEE3204S, Abend 0C4. The system detected a protection exception.
Cause
STDERR and STDOUT are not defined to the user.
Resolving The Problem
This can be fixed by defining STDERR and STDOUT as /dev/null. Sendmail uses STDERR and STDOUT and must have these defined correctly. Code the following to invoke Sendmail through a system call with the following command:
sprintf(command,"sendmail %s < %s 1> %s 2> %s", address,tmpFile,"/dev/null", /dev/null"); status = system(command);
This points STDERR (1) to "/dev/null" and STDOUT (2) to "/dev/null".
[{"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"All","Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF035","label":"z\/OS"}],"Version":"1.6;1.7;1.8;1.9;1.10;1.11;1.12;1.13;2.1;2.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21105462