Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SEL: output a member to a file

SEL outputs a member to a file. ED specifies the member to be output, LD the library containing the member and FD the file to which it is to be output.The complete type, name and version of the member must be specified.

The parameters FCBTYPE, OVERWRITE, INFO and PROT-IND are interpreted.

The catalog attribute CCS is taken over from the member. In the case of OVERWRITE=EXTEND the CCS name of the member must match that of the file.

INFO=STD has the same effect as INFO=TXT. The text proper, i.e. record type 1, is output. With INFO=COM the separately stored comment, i.e. record type 2, is output.

Call parameters

The parameter structures must be given in the following sequence in the subroutine call.

Parameter
structure

Field

Meaning

CB


SCBVERSION

FUNCTION

SUBCODE

ACC

FCB

OVERWRITE

INFO

PROT-IND

LD-RETURN

Function control block

Interface version

Function code X’09’

Subcode currently not supported: UNUSE

Subroutine access identification

File attributes

Logical overwriting

Member subarea to be processed

File protection

Full DMS file name in LD

LD


PASSWORD

LINK

MAX-NAME-LEN

NAME

Library descriptor

Password as per PASSWORD command

Link name

Maximum length of library name

Library name

ED


TYP

NAME

VERSION

Member descriptor

Member type

Member name

Member version

FD


PASSWORD

LINK

NAME

File descriptor

Password as per PASSWORD command

Link name

File name

Return parameters

Parameter
structure

Field

Meaning

CB


RETURNCODE

LMS-MSG

DMS-MSG

PLAM-MSG

Function control block

Return code

LMS message code

DMS message code

PLAM message code

LD


NAME

Library descriptor

Full DMS file name of library (dependent on LD-RETURN

field of CB)

ED


VERSION

Member descriptor

Member version (with call using *HIGH or with version
automation)