Previous Topic: #LINEOUT—requests a transfer of dataNext Topic: #LINEOUT Parameters


#LINEOUT Syntax

►►─┬─────────┬────────────────────────────────────────────────────────────────►
   └─ label ─┘

 ►─── #LINEOUT OUTLEN=output-data-length ─────────────────────────────────────►

 ►─┬──────────────────────────────────────────┬───────────────────────────────►
   └─ ,LRB= ─┬─ SYSPLIST ◄ ─────────────────┬─┘
             └─ line-request-block-pointer ─┘

 ►─┬─────────────────────────────────────────┬────────────────────────────────►
   └─ ,OUTAREA=output-data-location-pointer ─┘
 ►─┬─────────────────────────────────────┬────────────────────────────────────►
   │                 ┌───── , ───────┐   │
   └─ ,OPTNS= ───(───▼─┬─ NEWPAGE ─┬─┴─)─┘
                       ├─ NOWAIT ──┤
                       ├─ NOBKPG ──┤
                       └─ SAVE ────┘

 ►─┬──────────────────────┬───────────────────────────────────────────────────►
   └─ ,HDR=header-number ─┘

 ►─┬────────────────────────────────────────┬─────────────────────────────────►
   ├─ ,DESTID=destination-id-pointer ───────┤
   ├─ ,USERID=user-id-pointer ──────────────┤
   └─ ,LTERMID=logical-terminal-id-pointer ─┘
 ►─┬───────────────────────────────┬──────────────────────────────────────────►
   └─ ,COND= ─┬── NO ◄ ───────────┬┘
              ├── ALL ────────────┤
              │   ┌─── , ─────┐   │
              └─(─▼─┬─ CANC ─┬┴─)─┘
                    ├─ IOER ─┤
                    ├─ INVP ─┤
                    └─ UNDF ─┘

 ►─┬──────────────────────────────────┬───────────────────────────────────────►
   └─ ,CANCXIT=cancel-line-i/o-label ─┘

 ►─┬────────────────────────────┬─────────────────────────────────────────────►
   └─ ,IOERXIT=i/o-error-label ─┘
 ►─┬─────────────────────────────────────────┬────────────────────────────────►
   └─ ,INVPXIT=invalid-parameter-list-label ─┘

 ►─┬─────────────────────────────────────────┬────────────────────────────────►
   └─ ,UNDFXIT=invalid-destid-ltermid-label ─┘

 ►─┬──────────────────────┬───────────────────────────────────────────────────►◄
   └─ ,ERROR=error-label ─┘