The MAKECREDENTIALS utility sets the TASKVALUE attribute to indicate if the utility ran successfully, or if it encountered errors. A TASKVALUE of zero indicates that the MAKCREDENTIALS utility has completed successfully. The following table provides the possible values and their result.
| 
                            TASKVALUE  | 
                        
                            Result  | 
                     
|---|---|
| 
                            1  | 
                        
                            Host name expected  | 
                     
| 
                            2  | 
                        
                            Usercode expected  | 
                     
| 
                            3  | 
                        
                            Password expected  | 
                     
| 
                            4  | 
                        
                            Missing quote  | 
                     
| 
                            5  | 
                        
                            Unexpected item  | 
                     
| 
                            7  | 
                        
                            Credentials file not created  | 
                     
| 
                            8  | 
                        
                            Error setting Credentials file title  | 
                     
| 
                            9  | 
                        
                            Error writing Credentials file  | 
                     
| 
                            10  | 
                        
                            Error closing Credentials file  | 
                     
| 
                            11  | 
                        
                            REDIRSUPPORT library is unavailable  | 
                     
| 
                            12  | 
                        
                            Size and/or contents of Credentials file is invalid  | 
                     
| 
                            13  | 
                        
                            CREDENTIALSUPPORT library is unavailable  | 
                     

