Page 1 of 1

set statement

PostPosted: Wed Dec 15, 2010 1:12 pm
by anubaby
Create a JCL to delete a file and if this step is executed successfully create a new file with same name as the deleted file and with the extension as your name and also the file must contain your name as the contents of the file. Use set statement for having the file name and the name of the person.

Re: set statement

PostPosted: Wed Dec 15, 2010 1:22 pm
by enrico-sorichetti
and... where is the question?
just go ahead and doit !
we do not have any need for something like that :evil:

Re: set statement

PostPosted: Thu Dec 16, 2010 1:47 am
by dick scherrer
Hello and welcome to the forum,

I suspect this is a class assignment. . .

Where are you stuck?

What is supposed to be used to delete the file? What kind of file is this (qsam, vsam, etc).

Mainframe files do not have "extensions". If your name is longer than 8 characters it cannot be used in the mainframe dataset name.