Can anybody help me regarding the different condition codes, File Aid gives, along with description.
In other way,
When File Aid gives RC=4,8,16.. ONWARDS ?
Please reply to this query as soon as possible.
Thanks in advance,
I'm going from memory but I figured I'd post since you asked ASAP.
4 basically has never meant anything bad in my experience so I ignore it.
8 may or may not indicate an error condition. The most common reason I've seen condition code of 8 for idcams is datasets not existing when idcams is trying to delete them. For this reason depending on what the idcams step is doing it's common to put logic in the idcams step to reset the idcams condition code to 0 or 4 if it's =< 8.
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
When an error is detected, all processing on the accessed dataset stops unless the error is ignored. All subsequent control cards for the erroneous dataset are checked for validity and then bypassed. The decimal return coded issued by File-AID always reflects the highest error detected during execution.
Code 00 - All function completed with success.
Code 04 - (1). Found an error while decoding a control card. After printing the error on SYSPRINT, File-AID skips to the next valid control card. (2). Issued a warning message for a VSAM dataset. After logging the warning on SYSPRINT, File-AID attempts to process the dataset (3). One or more records were truncated in a COPY operation.
Code 08 - (1). No valid input or output DD statements match a control card. The invalid DD name prints on SYSPRINT and File-AID skips to the next valid control card (2). No records copied to the output dataset during a COPY, DROP, or USER function.
Code 12 - FILE-AID detected an I/O error , while reading or writing a dataset, or encountered an abend. Check SYSPRINT for error information. Depending on the error, File-AID either continues processing the current and subsequent functions or stops processing the current function and continues with the next valid control statement.
Code 16 - Open for SYSIN failed. Processing stops.
Code 24 - File-Aid is unable to dynamically allocate SYSPRINT. Processing stops. Add //SYSPRINT to job stream.
Most other codes relate to missing DD statements or the inability to open a DD statement.