Contact Us | Products/Services | Korn Shell | MicroEMACS


AIXtm mtXIA Technical Consulting Group

 


Script Return Codes


Path : Home : Standards


Current:Script Return Codes
Previous:Standards
Home Page

As ECS and CONTROL-M are becomming more and more utilized in the Unix environment, it is important to have standardized return codes from the various scripts being scheduled. Most programs scheduled through ECS to run on the UNIX systems are currently run through shell scripts. From within the shell scripts, we have the ability to standardize the return codes received by ECS and CONTROL-M. The following is a list of standardized return codes which should be implemented across all shell scripts on all UNIX machines:

  • 000 = Normal Exit
  • 001 = <USER DEFINED>
  • 002 = <USER DEFINED>
  • 003 = <USER DEFINED>
  • 004 = <USER DEFINED>
  • 005 = <USER DEFINED>
  • 006 = <USER DEFINED>
  • 007 = <USER DEFINED>
  • 008 = <USER DEFINED>
  • 009 = <USER DEFINED>
  • 010 = <USER DEFINED>
  • 011 = <USER DEFINED>
  • 012 = <USER DEFINED>
  • 013 = <USER DEFINED>
  • 014 = <USER DEFINED>
  • 015 = <USER DEFINED>
  • 016 = <USER DEFINED>
  • 017 = <USER DEFINED>
  • 018 = <USER DEFINED>
  • 019 = <USER DEFINED>
  • 020 = <USER DEFINED>
  • 021 = <USER DEFINED>
  • 022 = <USER DEFINED>
  • 023 = <USER DEFINED>
  • 024 = <USER DEFINED>
  • 025 = <USER DEFINED>
  • 026 = <USER DEFINED>
  • 027 = <USER DEFINED>
  • 028 = <USER DEFINED>
  • 029 = <USER DEFINED>
  • 030 = <USER DEFINED>
  • 031 = cannot initialize volume group
  • 032 = cannot initialize logical volume
  • 033 = cannot initialize file system
  • 034 = cannot initialize directory
  • 035 = cannot initialize directory attributes
  • 036 = cannot initialize file
  • 037 = cannot initialize file attributes
  • 038 = cannot initialize record
  • 039 = cannot initialize field
  • 040 = cannot initialize link
  • 041 = cannot initialize pipe
  • 042 = cannot initialize block device
  • 043 = cannot initialize character device
  • 044 = cannot initialize tty
  • 045 = cannot initialize environment variable
  • 046 = cannot initialize socket
  • 047 = cannot initialize network connection
  • 048 = cannot create volume group
  • 049 = cannot create logical volume
  • 050 = cannot create file system
  • 051 = cannot create directory
  • 052 = cannot create directory attributes
  • 053 = cannot create file
  • 054 = cannot create file attributes
  • 055 = cannot create record
  • 056 = cannot create field
  • 057 = cannot create link
  • 058 = cannot create pipe
  • 059 = cannot create block device
  • 060 = cannot create character device
  • 061 = cannot create tty
  • 062 = cannot create environment variable
  • 063 = cannot create socket
  • 064 = cannot create network connection
  • 065 = cannot modify volume group
  • 066 = cannot modify logical volume
  • 067 = cannot modify file system
  • 068 = cannot modify directory
  • 069 = cannot modify directory attributes
  • 070 = cannot modify file
  • 071 = cannot modify file attributes
  • 072 = cannot modify record
  • 073 = cannot modify field
  • 074 = cannot modify link
  • 075 = cannot modify pipe
  • 076 = cannot modify block device
  • 077 = cannot modify character device
  • 078 = cannot modify tty
  • 079 = cannot modify environment variable
  • 080 = cannot modify socket
  • 081 = cannot modify network connection
  • 082 = cannot delete volume group
  • 083 = cannot delete logical volume
  • 084 = cannot delete file system
  • 085 = cannot delete directory
  • 086 = cannot delete directory attributes
  • 087 = cannot delete file
  • 088 = cannot delete file attributes
  • 089 = cannot delete record
  • 090 = cannot delete field
  • 091 = cannot delete link
  • 092 = cannot delete pipe
  • 093 = cannot delete block device
  • 094 = cannot delete character device
  • 095 = cannot delete tty
  • 096 = cannot delete environment variable
  • 097 = cannot delete socket
  • 098 = cannot delete network connection
  • 099 = cannot open volume group
  • 100 = cannot open logical volume
  • 101 = cannot open file system
  • 102 = cannot open directory
  • 103 = cannot open directory attributes
  • 104 = cannot open file
  • 105 = cannot open file attributes
  • 106 = cannot open record
  • 107 = cannot open field
  • 108 = cannot open link
  • 109 = cannot open pipe
  • 110 = cannot open block device
  • 111 = cannot open character device
  • 112 = cannot open tty
  • 113 = cannot open environment variable
  • 114 = cannot open socket
  • 115 = cannot open network connection
  • 116 = cannot append volume group
  • 117 = cannot append logical volume
  • 118 = cannot append file system
  • 119 = cannot append directory
  • 120 = cannot append directory attributes
  • 121 = cannot append file
  • 122 = cannot append file attributes
  • 123 = cannot append record
  • 124 = cannot append field
  • 125 = cannot append link
  • 126 = cannot append pipe
  • 127 = cannot append block device
  • 128 = cannot append character device
  • 129 = cannot append tty
  • 130 = cannot append environment variable
  • 131 = cannot append socket
  • 132 = cannot append network connection
  • 133 = cannot close volume group
  • 134 = cannot close logical volume
  • 135 = cannot close file system
  • 136 = cannot close directory
  • 137 = cannot close directory attributes
  • 138 = cannot close file
  • 139 = cannot close file attributes
  • 140 = cannot close record
  • 141 = cannot close field
  • 142 = cannot close link
  • 143 = cannot close pipe
  • 144 = cannot close block device
  • 145 = cannot close character device
  • 146 = cannot close tty
  • 147 = cannot close environment variable
  • 148 = cannot close socket
  • 149 = cannot close network connection
  • 150 = cannot read volume group
  • 151 = cannot read logical volume
  • 152 = cannot read file system
  • 153 = cannot read directory
  • 154 = cannot read directory attributes
  • 155 = cannot read file
  • 156 = cannot read file attributes
  • 157 = cannot read record
  • 158 = cannot read field
  • 159 = cannot read link
  • 160 = cannot read pipe
  • 161 = cannot read block device
  • 162 = cannot read character device
  • 163 = cannot read tty
  • 164 = cannot read environment variable
  • 165 = cannot read socket
  • 166 = cannot read network connection
  • 167 = cannot write volume group
  • 168 = cannot write logical volume
  • 169 = cannot write file system
  • 170 = cannot write directory
  • 171 = cannot write directory attributes
  • 172 = cannot write file
  • 173 = cannot write file attributes
  • 174 = cannot write record
  • 175 = cannot write field
  • 176 = cannot write link
  • 177 = cannot write pipe
  • 178 = cannot write block device
  • 179 = cannot write character device
  • 180 = cannot write tty
  • 181 = cannot write environment variable
  • 182 = cannot write socket
  • 183 = cannot write network connection
  • 184 = cannot execute volume group
  • 185 = cannot execute logical volume
  • 186 = cannot execute file system
  • 187 = cannot execute directory
  • 188 = cannot execute directory attributes
  • 189 = cannot execute file
  • 190 = cannot execute file attributes
  • 191 = cannot execute record
  • 192 = cannot execute field
  • 193 = cannot execute link
  • 194 = cannot execute pipe
  • 195 = cannot execute block device
  • 196 = cannot execute character device
  • 197 = cannot execute tty
  • 198 = cannot execute environment variable
  • 199 = cannot execute socket
  • 200 = cannot execute network connection
  • 201 = cannot search volume group
  • 202 = cannot search logical volume
  • 203 = cannot search file system
  • 204 = cannot search directory
  • 205 = cannot search directory attributes
  • 206 = cannot search file
  • 207 = cannot search file attributes
  • 208 = cannot search record
  • 209 = cannot search field
  • 210 = cannot search link
  • 211 = cannot search pipe
  • 212 = cannot search block device
  • 213 = cannot search character device
  • 214 = cannot search tty
  • 215 = cannot search environment variable
  • 216 = cannot search socket
  • 217 = cannot search network connection
  • 218 = cannot compress volume group
  • 219 = cannot compress logical volume
  • 220 = cannot compress file system
  • 221 = cannot compress directory
  • 222 = cannot compress directory attributes
  • 223 = cannot compress file
  • 224 = cannot compress file attributes
  • 225 = cannot compress record
  • 226 = cannot compress field
  • 227 = cannot compress link
  • 228 = cannot compress pipe
  • 229 = cannot compress block device
  • 230 = cannot compress character device
  • 231 = cannot compress tty
  • 232 = cannot compress environment variable
  • 233 = cannot compress socket
  • 234 = cannot compress network connection
  • 235 = cannot uncompress volume group
  • 236 = cannot uncompress logical volume
  • 237 = cannot uncompress file system
  • 238 = cannot uncompress directory
  • 239 = cannot uncompress directory attributes
  • 240 = cannot uncompress file
  • 241 = cannot uncompress file attributes
  • 242 = cannot uncompress record
  • 243 = cannot uncompress field
  • 244 = cannot uncompress link
  • 245 = cannot uncompress pipe
  • 246 = cannot uncompress block device
  • 247 = cannot uncompress character device
  • 248 = cannot uncompress tty
  • 249 = cannot uncompress environment variable
  • 250 = cannot uncompress socket
  • 251 = cannot uncompress network connection
  • 252 = <USER DEFINED>
  • 253 = <USER DEFINED>
  • 254 = <USER DEFINED>
  • 255 = <USER DEFINED>

 

For information regarding this page, contact Dana French ( dfrench@mtxia.com )
Copyright 2008 by Mt Xia Inc, All Rights Reserved