Export, Operands, Return codes – IBM SC34-5764-01 User Manual
Page 371: Example, Notes, Operands return codes example notes
EXPORT
EXPORT
rfs_fileid
lib.sublib(mem.type)
EXPORT exports an RFS file to a VSE Librarian sublibrary member.
Operands
rfs_fileid
specifies a fully qualified REXX File System file ID.
lib.sublib(mem.type)
specifies a VSE Librarian sublibrary and member.
Return Codes
0
Normal return
1701
Invalid command
1702
Invalid operand
1723
RFS write error
1724
RFS read error
1733
Input for export not found
1736
Unexpected CICS error
1738
Invalid VSE Librarian member name
1741
Unsupported record format
1799
Internal error
Example
'EXPORT POOL1:\USERS\USER1\TEST.DATA USER1.TEST(MEM1.PROC)
This example copies POOL1:\USERS\USER1\TEST.DATA from an RFS file to a VSE Librarian sublibrary
and member.
Notes
The sublibrary specified in lib.sublib must exist. If the member specified in lib.sublib(mem.type) exits, it
is replaced by the contents of the RFS file specified in rfs_fileid. If the member does not exist, it is
created in the specified sublibrary.
Commands
Chapter 25. REXX/CICS Commands
349