Perform the following steps to create a cataloged procedure for
a temporary file system.
- Set up a FILESYSTYPE statement in BPXPRMxx. It must have the name
of the procedure on the ASNAME operand.
Example: For cataloged
procedure XXXXXX, the FILESYSTYPE statement would be:
FILESYSTYPE TYPE(TFS)
ENTRYPOINT(BPXTFS)
ASNAME(XXXXXX)
_______________________________________________________________
- Create the cataloged procedure XXXXXX in SYS1.PROCLIB. It must
contain the following statement:
EXEC PGM=BPXVCLNY
_______________________________________________________________
When you are done, you have created a cataloged procedure for a
temporary file system.
Some tips:
- A temporary file system uses private storage for the file system
in memory. If you run it in the kernel, then you might run out of
virtual memory. However, by starting multiple temporary file systems
in colonies, you can create many temporary files or very large temporary
files (about 1.5 gigabytes per temporary file system colony).
- Code REGION=0K, REGIONS=0M, or a specific MEMLIMIT value on the
EXEC statement in the TFS colony cataloged procedure. Doing so allows
the TFS address space to address storage above the bar for the TFS
file system. For more information about the MEMLIMIT parameter, see z/OS MVS Programming: Extended Addressability Guide