Second, don't forget that JCL is not a programming language. Stuff like date and time are completely foreign to it.
Third, where's the job going to get the date value from? A program? A JCL SET statement? A scheduler variable? Does the value for the date need to be referred to in multiple locations throughout the job?
Personally, I recommend creating and cataloging the dataset with a date or time value from within a program.
I was able to create a data set with a name of output.file.090817.142339, so I don't see how the example I mentioned in my original post was an invalid dataset name. Second, the date was extracted from the mainframe's date and time internals, so stuff like date and time are not completely foreign to it.. Thirdly, the same comment applies - the date and time were extracted from mainframe internals. No language use was involved, except in creating the data contained in my date and time stamped data file.
I suggest you might try doing an Internet search concerning adding a date or time to the name of a mainframe output dataset.
I wasn't aware of that; it's unfortunate, because sometimes the answer to a question might be in another forum but not in this forum. I am not belittling this forum - I just thought that the Internet was a place for knowledge sharing, not knowledge limiting.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum