APPENDIX B


PROGRAM CHECK AND SENSE CODES

This appendix lists the program check codes and the sense
codes used by IRMA WorkStation.  Program Check Codes Program check
codes indicate protocol or data stream errors. They appear
in the operator guidance message area as PROGnnn messages
where nnn is defined as shown in Table 1.


Table 1.  PROGRAM CHECK CODES


VALUE        MEANING

401          Invalid command received.
             Invalid alias for SFE, MF, or SA.

402          Out-of-range address for SEA, RA, or EUA order.
             MF order addressed nonfield attribute location.

403          Data stream data after Rd, Rd Mod, EAU command.
             Invalid parameter following SFE, MF, SA, GE, or
             RA order.

404          Data stream terminated before end of order.

413          Function not supported.

420          Exception response chain received when BIND
             specified definite response.

421          Definite response chain received after BIND
             specified exception response.

422          New response chains not allowed.

423          FI bit not allowed for FM data.

430          Sequence number error.

431          Chaining error.

432          Bracket error.

433          Data traffic reset.

434          Direction error.

442          Request not executable.

443          CD required.

445          ACTLU type not COLD or ERP.

450          Profile error.

451          Primary protocol error.

452          Secondary protocol error.

453          Common protocol error.

454          Screen size error.

455          LU profile error.

456          Negotiable BIND rejected (sense code 0821 ent).

470          Unsupported code point received.

471          Extended data stream function not supported.

472          Read state error.

474          The device does not support extended data
             sream.

475          WCC had "Start Print" but not last structured
             field.

498          Negative response received.

499          Internal error report.


Sense Codes

SNA sense codes are sent on either a negative response to an
outbound data stream or an LUSTAT that notifies the host of
a change in the secondary LU state.  The sense codes
generated by a 3270 emulator program are shown in Tables 2
and 3.


Table 2.  NEGATIVE RESPONSE SENSE CODES


VALUE        MEANING

0802         Intervention required (LU1/LU3 printer soft
             error).

0814         Bracket bid reject - RTR forthcoming.

081B         Receiver in transmit mode.

081C         Request not executable (hard error).

0821         Invalid session parameters (negotiable BIND
             request).

0829         Change direction required.

082B         Presentation space integrity lost.

082D         LU busy (usually local copy print in progress).

082E         Intervention required (local copy print soft
             error).

082F         Request not executable (local copy print hard
             error)

0843         WCC print command bit not sent (RQD or RQE, CD,
             EB).

0863         Referenced character set does not exist.

0871         Read partition state error (SLU in retry
             state).

1003         Function not supported.

1005         Parameter modifying a control function is
             invalid.

1007         Category not supported (SSCP data for host
             printer).


Table 3.  LUSTAT SENSE CODES


VALUE        MEANING

0001 B000    Host initialized local copy soft error
             recovery.

081C 0000    Soft error changed to hard error (LU1/LU3).

081C B000    Soft error changed to hard error (local copy).

082B 0000    LU session changed from SSCP to PLU (SYSREQ).
