Exploiting z/OS Services



There are a large number of services available in Assembler, which may not be available in High Level Languages and some of these are listed opposite.

The list opposite is a mix of Data Manaagement and System Services, some of which may be encountered more frequently than others.

Macro

Description

ABEND

Force a User ABEND (Unnnn)

DCBD

Map the DCB control block fields

DELETE

Relinquish control of a load module.

DEQ

Release a held resource. The opposite of ENQ.

ENQ

Protect a resource from concurrent use.

FIND

Locate an entry in a PDS/PDSE directory.

FREEMAIN

Release GETMAINed memory, within the allocated REGION size.

GETMAIN

Obtain memory, within the allocated REGION size.

READ

Read a block of data (BLKSIZE) rather than individual records.

RDJFCB

Make DD statement information available

SNAP/SNAPX

Print memory and/ or Register contents.

STORAGE

Obtain or Release memory, within the allocated REGION size.

STOW

Add an entry to a PDS/PDSE directory.

TIME

Obtain current date and time,

WRITE

Write a block of data (BLKSIZE) rather than individual records.

WTO

Write a message to the operator.



Copyright © Legac-e Education 2015-