DISKR

Read syntax diagramSkip visual syntax diagram
                       .-DATA.-.   
>>-RFS--DISKR--fileid--+-------+-------------------------------><
                       '-stem.-'   

DISKR reads records from an RFS file.

Operands

fileid
specifies the file identifier.
stem.
specifies the name of a stem. (A stem must end in a period.) See section Stems for more information. The default stem is DATA..

Return codes

See the RFS command, section RFS.

Example

'RFS DISKR POOL1:\USERS\USER1\TEST.DATA DATA.'

This example stores the entire contents of the RFS file POOL1:\USERS\USER1\TEST.DATA in the DATA. REXX compound variable.

Note

DATA.0 is set to the number of records read from the file. DATA.n contains the nth record read from the file.



rvse551.html | Timestamp icon Last updated: Monday, 5 June 2017