Create a file on magnetic tape: Difference between revisions

m
→‎{{header|REXX}}: moved the program comments to the REXX section header.
mNo edit summary
m (→‎{{header|REXX}}: moved the program comments to the REXX section header.)
Line 145:
 
=={{header|REXX}}==
/* The actual mounting &and attaching would be performed by the appropriate* operating system (and/or user) commands.
/*<br><br>DSNAME &nbsp; (below) &nbsp; would be the REXX variable that is associated with a dataset that is assigned */to a magnetic tape
/*<br>device. &nbsp; The association would be different, depending on upon the operating system being used. VM/CMS would use */
<br><br>VM/*CMS awould use a &nbsp; '''CP ATTACH''' &nbsp; command, coupled with a &nbsp; '''CMS FILEDEF''' &nbsp; command which*/ associates a
/*<br>DSNAME attached&nbsp; (dataset name) &nbsp; that will be written to on the attached (and mounted) magnetic tape device. */
<lang rexx>/*REXX pgm demonstrates writing records to an attached magnetic tape.*/
/* The actual mounting & attaching would be performed by the appropriate*/
/* operating system (and/or user) commands. DSNAME (below) would be */
/* the REXX variable that is associated with a dataset that is assigned */
/* to a magnetic tape device. The association would be different, */
/* depending on upon the operating system being used. VM/CMS would use */
/* a CP ATTACH command, coupled with a CMS FILEDEF command which*/
/* associates a DSNAME (dataset name) that will be written to on the */
/* attached (and mounted) magnetic tape device. */
 
dsName = 'TAPE.FILE' /*dsName of "file" being written.*/