Operands, Return codes, Examples – IBM SC34-5764-01 User Manual
Page 361: Note, Operands return codes examples note
![background image](/manuals/126838/361/background.png)
DIR
DIR
dirid
(
stem.
DIR displays the current directory contents or optionally returns the directory contents in a REXX
compound variable.
Operands
dirid
specifies the partial or full REXX File System directory that is displayed. If you omit this, then the
current directory is displayed.
stem.
specifies the name of a stem. (A stem must end in a period.) Stem.0 contains the number of elements
in the entry. (Refer to section “Stems” on page 123 for more information.) If you omit this, the contents
are displayed on the screen.
Return Codes
0
Normal return
321
Cannot access current RFS directory information
322
Invalid stem name
325
Error retrieving RFS directory
Examples
'DIR \USERS\USER2 (X.'
This example places the directory contents of \USERS\USER2 into the REXX compound variable X.1
through X.n. X.0 contains the number of elements returned.
Note
The current directory is specified by the CD command.
Commands
Chapter 25. REXX/CICS Commands
339
- I5 (59 pages)
- 2274 (183 pages)
- X3650 (18 pages)
- P5 570 (82 pages)
- 6E1 (40 pages)
- 704 (348 pages)
- SG24-4576-00 (235 pages)
- SCOD-3ZVQ5W (548 pages)
- LOTUS TEAM WORKPLACE 6.5.1 (17 pages)
- HANDBOOK 150 (286 pages)
- 6C4 (233 pages)
- 6059 (248 pages)
- 6644 (100 pages)
- 2283 (96 pages)
- 755 (47 pages)
- PANEL1173-841 (80 pages)
- G325-2585-02 (90 pages)
- BladeCenter T Type 8730 (180 pages)
- PC Server/Enterprise Racks 9QX (208 pages)
- X3620 M3 (19 pages)
- NETVISTA X40 6643 (120 pages)
- 440 (202 pages)
- xSeries 235 (66 pages)
- 47AE - 410168 (27 pages)
- TotalStorage DS6000 Series (406 pages)
- 310E (120 pages)
- NETVISTA 8319 (52 pages)
- A40P TYPE 6841 (148 pages)
- POWER 710 (45 pages)
- LCD PC (50 pages)
- 525 (33 pages)
- BladeCenter 8677 (104 pages)
- N2800e (82 pages)
- 6345 (214 pages)
- 2197 (208 pages)
- 4194 (84 pages)
- V7.2 (41 pages)
- SC34-6814-04 (953 pages)
- 6268 (53 pages)
- Enterprise Server H80 Series (230 pages)
- 6.00E+01 (42 pages)
- G544-5774-01 (56 pages)
- z/OS (88 pages)
- Aptiva 2140 (212 pages)
- GC23-7753-05 (56 pages)