BBj Exit Codes

When the BBj executable exits, it returns an exit code indicating the exit status.

Exit Code

OS Return Code Equivalent

Definition

9999

 

UNDEFINED_RC

0

0

OK

-1

255

QUIT

-2

254

TIMEOUT_OK

-10

246

STD_RD_ERROR

-11

245

STD_WR_ERROR

-19

237

STD_EOF

-20

236

SKT_RD_ERROR

-21

235

SKT_WR_ERROR

-22

234

SKT_TIMEOUT_ERROR

-23

233

SKT_UNKNOWN_ERROR

-24

232

SKT_DACK_ERROR

-25

231

SKT_NACK_ERROR

-26

230

SKT_INV_ERROR

-27

229

SKT_RC_ERROR

-29

227

SKT_EOF

-40

216

PIPE_RD_ERROR

-41

215

PIPE_WR_ERROR

-49

217

PIPE_EOF

-50

206

GENSKT_RD_ERROR

-51

205

GENSKT_WR_ERROR

-90

166

BACKGROUND_QUIT

-91

165

BACKGROUND_ERROR