DSORG return specification - Key = '0057'

DALRTORG requests that the data set organization of the allocated data set be returned to the caller of DYNALLOC When you code DALRTORG, # must be one, LEN must be two, and PARM is a two-byte field. Dynamic allocation puts one of the following values into PARM. Note that when the requested information is not available, the system returns a value of X'0000' in PARM rather than a LEN of 0.
X'0000'
Dynamic allocation cannot determine the DSORG
X'0004'
TR
X'0008'
VSAM
X'0020'
TQ
X'0040'
TX
X'0080'
GS
X'0200'
PO
X'0300'
POU
X'0400'
MQ
X'0800'
CQ
X'1000'
CX
X'2000'
DA
X'2100'
DAU
X'4000'
PS
X'4100'
PSU
X'8000'
IS
X'8100'
ISU

The system does not fail the dynamic allocation request if it cannot obtain the data set organization (DSORG). Therefore, when you use this key, provide an SVC 99 request block extension (see Setting up the request block extension). Upon return, verify that fields S99EERR and S99EINFO in the request block extension are zero. If these fields are non-zero, do not use the returned DSORG.

Example: To specify that the DSORG be returned, code:
KEY    #      LEN    PARM
0057   0001   0002   --
This specification would be updated for a DSORG of PS as follows:
KEY    #      LEN    PARM
0057   0001   0002   4000