Strovent SystemsSign in
Reference

IND$FILE with z/VM CMS and z/VSE: file names, options, and CICS file transfer

How an IND$FILE transfer differs on z/VM CMS (filename filetype filemode, fewer options) and on z/VSE, where the CICS transaction is IND$, not IND$FILE.

A 3270 file transfer works the same way on every host: the terminal and a host program exchange the file inside the 3270 session. What changes from host to host is where you start it, how the host file is named, and which options exist.

z/VM CMS

Start the transfer from the CMS command line, at the Ready; prompt.

The host file is a CMS file ID, three words separated by spaces:

PROFILE EXEC A
fn      ft   fm
  • File name and file type: 1 to 8 characters each, from A–Z, a–z, 0–9 and $ # @ + - : _.
  • File mode: the letter of an accessed minidisk or Shared File System directory, optionally followed by a digit. At logon, A is normally your own minidisk or top directory. Some CMS commands do not accept lowercase file IDs, so uppercase is the safe choice.

Options. As the x3270 documentation lists them, CMS takes the record format and record length (RECFM fixed or variable, LRECL) for a new file, plus the text options ASCII and CRLF. The block size and space options (BLKSIZE, TRACKS, CYLINDERS, SPACE) and RECFM undefined apply to TSO only. See IND$FILE options.

z/VSE

On VSE the host side is not a TSO command at all. It is a CICS function that IBM's documents call VSE file transfer, also known as IWS (Intelligent Workstation Support) file transfer, IUI file transfer or CICS file transfer. Its CICS transaction is IND$, and the program behind it is INWPCCOM.

A VSE transfer can go to or from:

  • the Host Transfer File (HTF), a large VSAM file with a directory per user; VSE dialogs then move the file to other VSAM files or ICCF members,
  • CICS temporary storage, for a CICS application to pick up,
  • VSE/POWER queues, for example the LIST queue with job output.

The workstation commands look like SEND pcfile hostname (FILE=HTF ASCII CRLF and RECEIVE pcfile (FILE=LST, with a FILE= keyword for the destination. Your VSE administrator can tell you whether the transaction is installed and which destinations you may use.

In this app

This app's file transfer offers TSO and CMS as the host system; it has no CICS (z/VSE) choice. For CMS it takes a file name, file type and optional file mode, and uses file mode A when you leave the mode out. See File transfer with IND$FILE.

Sources

Spotted a mistake? Email [email protected].