adspace
What is the difference between return code and completion
code.
When i was searching in the direct for the problem, the
following errors displayed. Please can any1 explain these.
Completion Code => 4
Message Id => XXDR012I
Short Text => XDR field overflow. Key=SER. Len=8.
Completion Code => 8
Message Id => XSQF009I
Short Text => Sys call open()
failed.Filename=/opt/apps/cdt3/USA/outbound/CD810O.errno=17.
Completion Code => 8
Message Id => XCPR010I
Short Text => Open failed for copy in OPEN_DEST_DATA.
Errno=17.
can you explain those 3 completion codes and also with
difference between return code and completion code
Answer Posted / Amritanshu Kumar Singh
Completion codes are messages generated by the IBM z/OS system to provide information about a job's status or to indicate an error. Here is an explanation of the three completion codes mentioned:nn- Completion Code 4: This indicates that there was an XDR (External Data Representation) field overflow, meaning the field length exceeded its maximum limit.n- Completion Code 8: This typically indicates a system call failure. The error number (errno=17) suggests that the file specified by filename could not be opened.nnReturn codes and completion codes serve different purposes:nn- A return code is a value returned by a function or program, indicating its execution status. It can help in handling errors within the same process.n- Completion codes, on the other hand, are messages sent to the job accountability system (JAS) or the Job Distributor (JD), providing details about a job's status and errors that might have occurred during its execution.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers