Skip to main content

CALLRB return codes

  • October 6, 2014
  • 0 replies
  • 0 views

A production batch job failed performing an IDCAMS delete / define using standard JCL that has been thoroughly tested.  The output of the job says JCLAM0177S(12) - Unexpected return-code    32 from CALLRB.  This is similar to results I experienced in development, but with different return-codes.  Typically this occurs and the job is rerun successfully or the JCL is tweaked in order to resolve the issue.  The problem is I cannot find anywhere in the micro focus documentation a description of the return codes from the rebuild utility (CALLRB).  I would expect that if the job returns a return-code, there should be a place in the documentation where you can look it up.  In the callable rebuild page of the micro focus documentation it has:

The possible values of RETURN-CODE are shown below.     

                          
Value             Description            
0              Rebuild executed successfully             
1              An error occurred on the input file such as file not found or invalid file format - check status parameter             
2              An error occurred on the output file - check status parameter             
3              Error in sort             
4              File is corrupt             
5              Attempt to do a /k:a:exists             
6              Attempt to do a /k:r:onprime             
7              Attempt to do a /k:r:dontexist             
8              Too many duplicates on out             
9              The parameter list contained an error such as an invalid option or an invalid combination of options

This doesn't list my return-code (32) nor any of the other return codes I have ever seen.  Anyone know where to look for the return codes?


#EnterpriseServer

0 replies

Be the first to reply!