QGETN FM header

A QGETN FM header is received by IMS to cause sequential transfer of a single logical or presentation page of MFS DPM demand-paged output. It is the only QMODEL FM header in the chain and is never followed by function management data.

The QGETN FM header is not sent by IMS.

The QGETN FM header can be sent to IMS in the following cases:
  • To retrieve first page of demand-paged output. A QGETN must always be the first request following the receipt of a scheduled demand-paged output. It must be preceded by an ATTACH QMODEL FM header.
  • Following a QSTATUS FM header that indicates an invalid cursor in scheduled demand-paged output.
  • When a non-OLP demand-paged output message is in progress.
  • When an OLP demand-paged output message is in progress and the current cursor position is not at the last page of the message.

Each of these cases causes a QXFR FM header to be returned in reply.

The QGETN FM header cannot be sent to IMS in the following cases:
  • Between messages. An error message is returned.
  • While an OLP demand-paged output message is in progress and the current cursor position is at the last page.