Open(SSCP) Request

The Open(SSCP) Request message flows from the application to the node. It is used with an SSCP connection.

struct Open(SSCP) Request {
    PTRBFHDR  nxtqptr;
    PTRBFELT  hdrept;
    CHAR      numelts;
    CHAR      msgtype;
    CHAR      srcl;
    CHAR      srcp;
    INTEGER   srci;
    CHAR      destl;
    CHAR      destp;
    INTEGER   desti;
    CHAR      ophdr.openqual;
    CHAR      ophdr.opentype;
    CHAR      ophdr.appltype;
    CHAR      ophdr.opluno;
    INTEGER   ophdr.opresid;
    INTEGER   ophdr.icreditr;
    INTEGER   ophdr.icredits;
    CHAR      ophdr.opninfo1;
    CHAR      ophdr.opnpad1;
}; 
 

Element 1

struct Open(SSCP) Request {
    PTRBFELT   hdreptr->elteptr;
    INTEGER    hdreptr->startd;
    INTEGER    hdreptr->endd;
    CHAR       hdreptr->trpad;
    CHAR[268]  hdreptr->dataru;
};
 

Element 2

struct Open(SSCP) Request {
    PTRBFELT  hdreptr->elteptr->elteptr;
    INTEGER   hdreptr->elteptr->startd;
    INTEGER   hdreptr->elteptr->endd;
    CHAR      hdreptr->elteptr->trpad;
    CHAR[268] hdreptr->elteptr->dataru;
};
 

Members

nxtqptr
Pointer to next buffer header.
hdrept
Pointer to first buffer element.
numelts
Number of buffer elements (0x02).
msgtype
Message type OPENMSG (0x01).
srcl
Source locality.
srcp
Source partner (see Remarks).
srci
Source index.
destl
Destination locality.
destp
Destination partner.
desti
Destination index.
ophdr.openqual
Open qualifier REQU (0x01).
ophdr.opentype
Open type SSCPSEC (0x01).
ophdr.appltype
Application program interface type

FMI without chunking (0x02)
FMI with chunking (0x82) (see Remarks).

ophdr.opluno
Logical unit number (see Remarks).
ophdr.opresid
Resource identifier.
ophdr.icreditr
Reserved.
ophdr.icredits
Reserved.
ophdr.opninfo1
Reserved.
ophdr.opnpad1
Open force type (see Remarks)

OPEN_TEST (0x00)
OPEN_FORCE (0x01)

Element 1

hdreptr–>elteptr
Pointer to next buffer element.
hdreptr–>startd
Start of data in this buffer element (1).
hdreptr–>endd
End of data in this buffer element.
hdreptr–>trpad
Reserved (1 byte).
hdreptr–>dataru
Data RU, as follows:
dataru[0–9]
Source name. Should be filled with blanks.
dataru[10–19]
Destination name. Set to the LU you want to communicate with.
dataru[20]
Sense 4003 flag.
dataru[21]
Sense 4004 flag.
dataru[22]
Sense 4006 flag.
dataru[23]
Sense 4007 flag.
dataru[24]
Sense 4009 flag.
dataru[25]
Sense 400A flag.
dataru[26]
Sense 400B flag.
dataru[27]
Sense 400C flag.
dataru[28]
Sense 400D flag.
dataru[29]
Sense 400F flag.
dataru[30]
Sense 4011 flag.
dataru[31]
Sense 4012 flag .
dataru[32]
Sense 4014 flag .
dataru[33]
High priority indicator

HIGH (0x01)
LOW (0x02)

dataru[34]
LUA supported indicator

Supported (0x01)
Not supported (0x00)

dataru[35–36]
Chunk size obtained from DMOD (see Remarks).
dataru[37]
Segment delivery option

Do not deliver RU segments (0x00)
Deliver RU segments (0x01)

dataru[38]
HLLAPI session identifier (see Remarks).

Element 2

hdreptr–>elteptr–>elteptr
Pointer to next buffer element (NIL).
hdreptr–>elteptr–>startd
Start of data in this buffer element (1).
hdreptr–>elteptr–>endd
End of data in this buffer element.
hdreptr–>elteptr–>trpad
Reserved.
hdreptr–>elteptr–>dataru
Data RU, as follows:
dataru[0]
ASCII string identifying the 3270 emulator (see Remarks).

Remarks