Session initiation management (LOGAPPL, QINIT, FIRSTONLY, and DEFONLY)

The LOGAPPL, QINIT, FIRSTONLY, and DEFONLY options can be coded on DEFAULTAPPL, PRTDEFAULTAPPL, LINEMODEAPPL, LUMAP-DEFAPPL, or PRTMAP-DEFAPPL. For the remainder of this topic, DEFAULTAPPL represents all the default application statements.

The following table summarizes several possible session initiation failure scenarios.
Figure 1. Session initiation failure scenarios
Table summarizing the value of different mapping statements in some possible session initiation failure scenarios

FIRSTONLY is not a consideration because the first session has not been established.

  1. In session.
  2. Send USSMSG07 or solicitor screen to client. Close the ACB.
  3. Send USSMSG07 or solicitor screen to client. Keep ACB open, queue original session request in VTAM.
  4. Send USSMSG07 or solicitor screen to client. Keep ACB open, keep the original queued session request in VTAM.
  5. Drop connection.

The following table summarizes several possible session ending scenarios. The session is ending due to normal LOGOFF or session breakage (possibly caused by loss of the application).

Figure 2. Session ending scenarios
Table summarizing the value of different mapping statements in some possible session ending scenarios

In all cases, if LUSESSIONPEND is not coded the connection is dropped.

  1. Request a session with the default application.
  2. Send USSMSG10 or solicitor screen to client. Close the ACB.