Create a file on magnetic tape: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "{{task|File System Operations}} In this task, the job is to create a new file called "TAPE.FILE" of any size on Magnetic Tape")
 
No edit summary
Line 2: Line 2:


In this task, the job is to create a new file called "TAPE.FILE" of any size on Magnetic Tape
In this task, the job is to create a new file called "TAPE.FILE" of any size on Magnetic Tape


=={{header|JCL}}==
<lang JCL>
// EXEC PGM=IEFBR14
//* Create a file named "TAPE.FILE" on magnetic tape
//ANYNAME DD UNIT=TAPE,DSN=TAPE.FILE,DISP=(,CATLG)
</lang>

Revision as of 18:21, 22 October 2012

Task
Create a file on magnetic tape
You are encouraged to solve this task according to the task description, using any language you may know.

In this task, the job is to create a new file called "TAPE.FILE" of any size on Magnetic Tape


JCL

<lang JCL> // EXEC PGM=IEFBR14 //* Create a file named "TAPE.FILE" on magnetic tape //ANYNAME DD UNIT=TAPE,DSN=TAPE.FILE,DISP=(,CATLG) </lang>