Rls commands, Ckdir, Operands – IBM SC34-5764-01 User Manual

Page 297: Return codes, Example, Delete, Lpull, Ckdir delete lpull

Advertising
background image

RLS commands

Under the RLS command environment you issue commands to interface with RLS. If you set the
command environment to RLS, you should not specify RLS in front of RLS commands.

Example:

'RLS READ \USERS\USER1\TEST.DATA DATA.'

This example reads the contents of the RLS list \USERS\USER1\TEST.DATA into the DATA. REXX
compound variable.

The syntax for the RLS commands follow.

CKDIR

RLS

CKDIR

dirid

CKDIR checks for an existing RLS directory level.

Operands

dirid

specifies a REXX List System directory level identifier. This is partially or fully qualified. See the CLD
command, section “CLD” on page 325, for more information.

Return Codes

See the RLS command, section “RLS” on page 366.

Example

'RLS CKDIR \USERS\USER1\DOCS'

This example checks for a directory called DOCS in the existing directory \USERS\USER1.

DELETE

RLS

DELETE

listname

DELETE deletes an RLS list.

Operands

listname

specifies a REXX List System list identifier. This is partially or fully qualified. See the CLD command,
section “CLD” on page 325, for more information.

Return Codes

See the RLS command, section “RLS” on page 366.

Example

'RLS DELETE \USERS\USER1\TEST.DATA'

This example deletes RLS list TEST.DATA.

LPULL

List System

Chapter 20. REXX/CICS List System

275

Advertising