IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need FileAid condition codes and Description


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pankajayee

New User


Joined: 20 Sep 2005
Posts: 26

PostPosted: Wed Jun 07, 2006 12:05 pm
Reply with quote

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,

Pankaj.
Back to top
View user's profile Send private message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 191
Location: USA

PostPosted: Wed Jul 12, 2006 4:05 pm
Reply with quote

pankajayee wrote:
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,

Pankaj.

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.

>8 is almost always and error condition.
Back to top
View user's profile Send private message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 191
Location: USA

PostPosted: Wed Jul 12, 2006 4:08 pm
Reply with quote

Oops! I had idcams on the brain and it is 5:34am. Disregarding my previous post.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Jul 12, 2006 6:48 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts AI writing DFSORT, REXX codes.. All Other Mainframe Topics 3
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts How to give complex condition in JCL . CLIST & REXX 30
Search our Forums:

Back to Top