/
PUIATEXMNU

PUIATEXMNU



This program returns the valid Menu Items for a specified user and Menu Group (a.k.a. [ Menu Item ] Parent).

Build the Atrium Menu

D PUIATEXMNU PR ExtPgm('PUIATEXMNU') D iUser 128A Const D iType 1A Const N=NavMenu T=Toolbar H=homepages D iParent 128A Const D ioItem LikeDS(Item) D oError N D oErrorMsg 256A

Menu Items are returned by the PUIATEXMNU exit program one by one in the Item data structure.

D Item DS Qualified D Code 128A D Parent 128A blank = root D Type 1A 0=NONLEAF 1=LEAF D ActionType 1A 0=URL 1=Macro 2=RDFApp 3=PCCmd D Action 512A LIB/PGM or URL D Text 128A D Icon 128A D OpenInWindow 1A D OpenOnceOnly 1A D Parm 256A



Subfield

Subfield Values Explanation

Purpose

Subfield

Subfield Values Explanation